Bug 597036 - "Find in page does not display results on screen when page is zoomed" [r=mark.finkle]
authorMatt Brubeck <mbrubeck@mozilla.com>
Mon, 25 Oct 2010 20:19:00 -0400
changeset 66916 619cdb5ff2eaa1511e23559300a74e7882266540
parent 66915 13c655de5bad3beb1526e053f6936722fa8701ea
child 66917 c461b6a96b0e6de979d6a60ea60c9f6c380385d2
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)
reviewersmark
bugs597036
Bug 597036 - "Find in page does not display results on screen when page is zoomed" [r=mark.finkle]
mobile/chrome/content/bindings/browser.xml
--- a/mobile/chrome/content/bindings/browser.xml
+++ b/mobile/chrome/content/bindings/browser.xml
@@ -844,17 +844,17 @@
         ({
           self: this,
           receiveMessage: function receiveMessage(aMessage) {
             let self = this.self;
             let json = aMessage.json;
 
             switch (aMessage.name) {
               case "scroll":
-                if (!this.scrollSync)
+                if (!self.scrollSync)
                   return;
 
                 // When CSS scroll offset changes, we must redefine our cache viewport because
                 // the cache viewport coordinate system's origin is the CSS scroll offset. Setting
                 // _pendingPixels* guarantees that _updateCacheViewport is called in scrollTo.
                 self._pendingPixelsX = Number.MAX_VALUE;
                 self._pendingPixelsY = Number.MAX_VALUE;