Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 6aa55a38178b5123f60aa692689d3f7b80e15cb9..500e241847347b447f73a36ff0a29e7ff443412e 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1276,7 +1276,8 @@ void WebViewImpl::animateDoubleTapZoom(const IntPoint& point) |
bool isAnimating; |
if (doubleTapShouldZoomOut) { |
- isAnimating = startPageScaleAnimation(mainFrameImpl()->frameView()->windowToContents(point), true, minimumPageScaleFactor(), doubleTapZoomAnimationDurationInSeconds); |
+ scale = minimumPageScaleFactor(); |
+ isAnimating = startPageScaleAnimation(mainFrameImpl()->frameView()->windowToContents(point), true, scale, doubleTapZoomAnimationDurationInSeconds); |
} else { |
isAnimating = startPageScaleAnimation(scroll, false, scale, doubleTapZoomAnimationDurationInSeconds); |
} |