Bug 1014708 - Disable zoom for find in page. r=mfinkle, a=sledru
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 23 May 2014 18:33:45 -0700
changeset 199320 372bd0f41776502ed9c52bf71aa77004be18a84c
parent 199319 20a719d54b3ea6090c435fa674ac115eafb34c78
child 199321 2799a3739894f7ace19c1494e7568108df295784
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, sledru
bugs1014708
milestone31.0a2
Bug 1014708 - Disable zoom for find in page. r=mfinkle, a=sledru
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;
     }
   }
 };