Bug 599501 Browser fights me when I try to zoom r=mfinkle
authorBenjamin Stover <bstover@mozilla.com>
Fri, 24 Sep 2010 17:40:45 -0700
changeset 66711 5d73a4d386cb4238d3092195f95ae62470f2b3f2
parent 66710 5f536332427850b5f2baf555b11854ad4efd0c1a
child 66712 bc15d66ebfe171617793cb4765acb2d0ed8f3a06
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)
reviewersmfinkle
bugs599501
Bug 599501 Browser fights me when I try to zoom r=mfinkle
mobile/chrome/content/bindings/browser.xml
--- a/mobile/chrome/content/bindings/browser.xml
+++ b/mobile/chrome/content/bindings/browser.xml
@@ -353,17 +353,19 @@
             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.scale = 1;
+
+            if (aMessage.windowId == this.contentWindowId)
+              this.scale = 1;
          ]]>
         </body>
       </method>
 
       <method name="onPopupBlocked">
         <parameter name="aMessage"/>
         <body>
           <![CDATA[