Lower the minimum viewport change delay to 25 for now
authorPatrick Walton <pwalton@mozilla.com>
Tue, 07 Feb 2012 23:10:58 -0800
changeset 90902 970269505811f115110ac5f72ab2039e22d5bca7
parent 90901 dc9d927c6d5dee5dcd4d15e5a08c60f5e33213b3
child 90903 a266d295b97d8ce8a266ed50bccc0069cdcc408e
push idunknown
push userunknown
push dateunknown
milestone12.0a1
Lower the minimum viewport change delay to 25 for now
mobile/android/base/gfx/GeckoLayerClient.java
--- a/mobile/android/base/gfx/GeckoLayerClient.java
+++ b/mobile/android/base/gfx/GeckoLayerClient.java
@@ -69,17 +69,17 @@ public abstract class GeckoLayerClient e
     protected Layer mTileLayer;
 
     /* The viewport that Gecko is currently displaying. */
     protected ViewportMetrics mGeckoViewport;
 
     /* The viewport that Gecko will display when drawing is finished */
     protected ViewportMetrics mNewGeckoViewport;
 
-    private static final long MIN_VIEWPORT_CHANGE_DELAY = 200L;
+    private static final long MIN_VIEWPORT_CHANGE_DELAY = 25L;
     private long mLastViewportChangeTime;
     private boolean mPendingViewportAdjust;
     private boolean mViewportSizeChanged;
 
     // mUpdateViewportOnEndDraw is used to indicate that we received a
     // viewport update notification while drawing. therefore, when the
     // draw finishes, we need to update the entire viewport rather than
     // just the page size. this boolean should always be accessed from