Bug 598911 - Blurry text on some pages when zoomed out in Fennec [r=mbrubeck]
authorBenjamin Stover <bstover@mozilla.com>
Tue, 21 Sep 2010 11:12:08 -0700
changeset 66676 e27563a7510f770f260d73e188f6ce1c6057facb
parent 66675 b61246e962ce287155178ff33dccb98a1778e897
child 66677 ffe66df487359a3a27b1ff6d6adcb38c2817b4da
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)
reviewersmbrubeck
bugs598911
Bug 598911 - Blurry text on some pages when zoomed out in Fennec [r=mbrubeck]
mobile/chrome/content/bindings/browser.xml
--- a/mobile/chrome/content/bindings/browser.xml
+++ b/mobile/chrome/content/bindings/browser.xml
@@ -260,19 +260,16 @@
                 ];
 
                 if (this._browser.contentWindowId != json.windowId) {
                   this._browser.contentWindowId = json.windowId;
                   this._browser._documentURI = json.documentURI;
                   this._browser._searchEngines = [];
                 }
 
-                this._browser.scale = 1;
-                this._browser._updateCacheViewport();
-
                 this._notify(Components.interfaces.nsIWebProgress.NOTIFY_LOCATION,
                              "onLocationChange",
                              args);
 
                 break;
 
               case "WebProgress:StatusChange":
                 args = [
@@ -350,16 +347,17 @@
             if (this.pageReport) {
               this.pageReport = null;
               this.updatePageReport();
             }
             // Delete the feeds cache if we're hiding the topmost page
             // (as opposed to one of its iframes).
             if (this.feeds && aMessage.target == this)
               this.feeds = null;
+            this._browser.scale = 1;
          ]]>
         </body>
       </method>
 
       <method name="onPopupBlocked">
         <parameter name="aMessage"/>
         <body>
           <![CDATA[
@@ -732,19 +730,16 @@
                 ];
 
                 if (this._browser.contentWindowId != json.windowId) {
                   this._browser.contentWindowId = json.windowId;
                   this._browser._documentURI = json.documentURI;
                   this._browser._searchEngines = [];
                 }
 
-                this._browser._scale = 1;
-                this._browser._updateCacheViewport();
-
                 this._notify(Components.interfaces.nsIWebProgress.NOTIFY_LOCATION,
                              "onLocationChange",
                              args);
 
                 break;
 
               case "WebProgress:StatusChange":
                 args = [