Bug 760971 - Port |Bug 728141 - Replace old synchronous favicons calls in browser| to Thunderbird r=mconley,a=Standard8 THUNDERBIRD_14.0b1_BUILD1 THUNDERBIRD_14.0b1_RELEASE
authorIan Neal <iann_cvs@blueyonder.co.uk>
Tue, 05 Jun 2012 00:48:50 +0100
changeset 11855 709068332aaf08803be43783821260f28f936ad6
parent 11854 366a6f25e6d7990bb8061b4495490185a441e8f2
child 11856 dd4aaeb92fb84e87e2b7ba93e8cec76388b8d741
child 11858 9e95fa2b514557639bc117ba03f9b89571662fcb
child 11862 830810e0a1e051438385064574fa15dd535ac95a
child 11863 173f92e181b574a3dd0bbed93949ded14abf0755
child 11865 2dce0acae7e52fe0a603c25d0ad670d5d01c46ec
push id533
push userbugzilla@standard8.plus.com
push dateTue, 05 Jun 2012 21:21:39 +0000
treeherdercomm-beta@709068332aaf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, Standard8
bugs760971, 728141
Bug 760971 - Port |Bug 728141 - Replace old synchronous favicons calls in browser| to Thunderbird r=mconley,a=Standard8
mail/base/content/specialTabs.js
--- a/mail/base/content/specialTabs.js
+++ b/mail/base/content/specialTabs.js
@@ -1412,17 +1412,17 @@ var specialTabs = {
    * page shown in the browser. It is assumed that the preferences have already
    * been checked before calling this function apprioriately.
    *
    * @param aTab  The tab to set the icon for.
    * @param aIcon A string based URL of the icon to try and load.
    */
   setTabIcon: function(aTab, aIcon) {
     if (aIcon && this.mFaviconService)
-      this.mFaviconService.setAndLoadFaviconForPage(aTab.browser.currentURI,
-                                                    makeURI(aIcon), false);
+      this.mFaviconService.setAndFetchFaviconForPage(aTab.browser.currentURI,
+                                                     makeURI(aIcon), false);
 
     // Save this off so we know about it later,
     aTab.browser.mIconURL = aIcon;
     // and display the new icon.
     document.getElementById("tabmail").setTabIcon(aTab, aIcon);
   }
 };