Skip to content

Commit 425c595

Browse files
drWulfAndroid (Google) Code Review
authored andcommitted
Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1
2 parents 2ffc9ec + 8fae09d commit 425c595

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/java/android/webkit/ZoomManager.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,11 @@ public void animateZoom(Canvas canvas) {
498498
if (mZoomScale == 0) {
499499
// We've reached the end of the zoom animation.
500500
mInHWAcceleratedZoom = false;
501+
502+
// Ensure that the zoom level is pushed to WebCore. This has not
503+
// yet occurred because we prevent it from happening while
504+
// mInHWAcceleratedZoom is true.
505+
mWebView.sendViewSizeZoom(false);
501506
}
502507
} else {
503508
canvas.translate(tx, ty);

0 commit comments

Comments
 (0)