Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1

This commit is contained in:
Derek Sollenberger
2011-11-28 10:34:04 -08:00
committed by Android (Google) Code Review

View File

@@ -498,6 +498,11 @@ class ZoomManager {
if (mZoomScale == 0) {
// We've reached the end of the zoom animation.
mInHWAcceleratedZoom = false;
// Ensure that the zoom level is pushed to WebCore. This has not
// yet occurred because we prevent it from happening while
// mInHWAcceleratedZoom is true.
mWebView.sendViewSizeZoom(false);
}
} else {
canvas.translate(tx, ty);