Bug 599512 - Partial black thumbnails on viewports with width != 800 (bustage fix) r=me
authorMark Finkle <mfinkle@mozilla.com>
Fri, 24 Sep 2010 21:08:13 -0400
changeset 66713 bc8c319acdcced5cad29630abe0bdcee5dd0555b
parent 66712 bc15d66ebfe171617793cb4765acb2d0ed8f3a06
child 66714 a31b61e6b07258c61d3abda602cf183ee38fd195
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs599512
Bug 599512 - Partial black thumbnails on viewports with width != 800 (bustage fix) r=me
mobile/chrome/content/browser.js
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -1017,17 +1017,17 @@ var Browser = {
 
     switch (aMessage.name) {
       case "Browser:ViewportMetadata":
         let tab = Browser.getTabForBrowser(browser);
         // Some browser such as iframes loaded dynamically into the chrome UI
         // does not have any assigned tab
         if (tab) {
           tab.updateViewportMetadata(json);
-          if (!this.isLoading())
+          if (!tab.isLoading())
             tab.updateThumbnail();
         }
         break;
 
       case "Browser:FormSubmit":
         browser.lastLocation = null;
         break;