Disable the security check in nsContentUtils::CanLoadImage() to see if that's what costs us 2% per yesterday.

This commit is contained in:
jst%mozilla.jstenback.com 2004-10-14 22:24:07 +00:00
Родитель e56b27e7a7
Коммит 96cd535991
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1696,6 +1696,7 @@ nsContentUtils::CanLoadImage(nsIURI* aURI, nsISupports* aContext,
nsresult rv;
#if 0 // Disabled to see if this is what cost us 2% perf
PRUint32 appType = nsIDocShell::APP_TYPE_UNKNOWN;
{
@ -1724,6 +1725,7 @@ nsContentUtils::CanLoadImage(nsIURI* aURI, nsISupports* aContext,
return PR_FALSE;
}
}
#endif
PRInt16 decision = nsIContentPolicy::ACCEPT;