[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-38.1.0esr-5.0-1] fixup! Bug 13670.1: Isolate favicon requests by first party.



commit bfdfcccae99d1af38b3320eb7409377bd0ebc154
Author: Kathy Brade <brade@xxxxxxxxxxxxxxxxx>
Date:   Wed Aug 5 11:16:12 2015 -0400

    fixup! Bug 13670.1: Isolate favicon requests by first party.
    
    Fix debug build error: Inside nsContentUtils::LoadImage(), remove
    the NS_PRECONDITION() call that references the aLoadingDocument
    parameter (which had been removed).
---
 dom/base/nsContentUtils.cpp |    1 -
 1 file changed, 1 deletion(-)

diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp
index 0ce2095..6b7461a 100644
--- a/dom/base/nsContentUtils.cpp
+++ b/dom/base/nsContentUtils.cpp
@@ -2997,7 +2997,6 @@ nsContentUtils::LoadImage(nsIURI* aURI, nsINode* aLoadingNode,
                           uint32_t aContentPolicyType)
 {
   NS_PRECONDITION(aURI, "Must have a URI");
-  NS_PRECONDITION(aLoadingDocument, "Must have a document");
   NS_PRECONDITION(aLoadingPrincipal, "Must have a principal");
   NS_PRECONDITION(aRequest, "Null out param");
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits