perf tweaks.

git-svn-id: svn://10.0.0.236/trunk@129951 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com 2002-09-18 20:11:30 +00:00
parent 4641df1aaf
commit a86d496575

View File

@ -59,7 +59,7 @@ var gClickSelectsAll = true;
var gIgnoreFocus = false;
var gIgnoreClick = false;
var pref = null;
var gPrefService = null;
var appCore = null;
@ -2661,8 +2661,9 @@ nsBrowserStatusHandler.prototype =
},
onLinkIconAvailable : function(aHref) {
if (gProxyFavIcon && pref.getBoolPref("browser.chrome.site_icons"))
{
if (gProxyFavIcon) {
// XXXBlake pref.getBoolPref("browser.chrome.site_icons"))
gProxyFavIcon.setAttribute("src", aHref);
// update any bookmarks with new icon reference