Index: Source/WebKit/chromium/src/WebViewImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 139114) |
+++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy) |
@@ -775,7 +775,7 @@ |
break; |
} |
case WebInputEvent::GestureDoubleTap: |
- if (m_webSettings->doubleTapToZoomEnabled()) { |
+ if (m_webSettings->doubleTapToZoomEnabled() && m_minimumPageScaleFactor != m_maximumPageScaleFactor) { |
m_client->cancelScheduledContentIntents(); |
animateZoomAroundPoint(WebPoint(event.x, event.y), DoubleTap); |
eventSwallowed = true; |