Backed out changeset 93cbcd7f34b3 (bug 828508) on suspicion of making bug 807442 nearly perma-fail on debug builds on a CLOSED TREE.

This commit is contained in:
Ryan VanderMeulen 2013-03-26 15:11:22 -04:00
parent 727a499bbc
commit 3cbd3fce6a

View File

@ -694,15 +694,9 @@
this.mFaviconService.FAVICON_LOAD_NON_PRIVATE);
}
let sizedIconUrl = browser.mIconURL || "";
if (sizedIconUrl) {
let size = Math.round(16 * window.devicePixelRatio);
sizedIconUrl += (sizedIconUrl.contains("#") ? "&" : "#") +
"-moz-resolution=" + size + "," + size;
}
if (sizedIconUrl != aTab.getAttribute("image")) {
if (sizedIconUrl)
aTab.setAttribute("image", sizedIconUrl);
if ((browser.mIconURL || "") != aTab.getAttribute("image")) {
if (browser.mIconURL)
aTab.setAttribute("image", browser.mIconURL);
else
aTab.removeAttribute("image");
this._tabAttrModified(aTab);