Bug 1014708 - Disable zoom for find in page. r=mfinkle
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 23 May 2014 18:33:45 -0700
changeset 184897 97c6e373c44199f92d7de720f6e9523064216d9d
parent 184896 b98a72074b033f22d3680b9eece184e2100284b3
child 184898 9d54afd94ff301e5973c4bd0baecdcd794890f54
push id26837
push usercbook@mozilla.com
push dateMon, 26 May 2014 13:05:01 +0000
treeherdermozilla-central@ca41feb4523e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs1014708
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1014708 - Disable zoom for find in page. r=mfinkle
mobile/android/chrome/content/FindHelper.js
--- a/mobile/android/chrome/content/FindHelper.js
+++ b/mobile/android/chrome/content/FindHelper.js
@@ -72,13 +72,14 @@ var FindHelper = {
           // this should never happen
           Cu.reportError("Warning: selected tab changed during find!");
           // fall through and restore viewport on the initial tab anyway
         }
         this._targetTab.setViewport(JSON.parse(this._initialViewport));
         this._targetTab.sendViewportUpdate();
       }
     } else {
-      ZoomHelper.zoomToRect(aData.rect, -1, false, true);
+      // Disabled until bug 1014113 is fixed
+      //ZoomHelper.zoomToRect(aData.rect, -1, false, true);
       this._viewportChanged = true;
     }
   }
 };