backout last checkin since it was breaking other platforms
git-svn-id: svn://10.0.0.236/trunk@63463 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ce8becf019
commit
c62bb3e4a4
@ -1913,6 +1913,7 @@ PRBool il_PermitLoad(const char * image_url, nsIImageRequestObserver * aObserver
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
#ifdef xxx
|
||||
/* real ugly hack until I figure out the right way to get the presContext from aObserver */
|
||||
nsIPresContext* presContext = (nsIPresContext*)(((PRInt32 *)aObserver)[3]);
|
||||
|
||||
@ -1930,6 +1931,9 @@ PRBool il_PermitLoad(const char * image_url, nsIImageRequestObserver * aObserver
|
||||
Recycle(host);
|
||||
return PR_TRUE;
|
||||
}
|
||||
#else
|
||||
char* firstHost = PL_strdup(host);
|
||||
#endif
|
||||
|
||||
/* check to see if we need to block image from loading */
|
||||
NS_WITH_SERVICE(nsICookieService, cookieservice, kCookieServiceCID, &rv);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user