mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
perf tweaks.
This commit is contained in:
parent
e87512b7c7
commit
e04e4ae257
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user