Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Unified Diff: Source/core/page/EventHandler.cpp

Issue 1025543002: Remove old pinch-zoom paths from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index 0e5258524a55d2ee8cfadc4ee43cb5c09d6bf6db..794d82088023a83f39973cf44195c7d0c2d93ede 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -2584,7 +2584,7 @@ bool EventHandler::handleGestureScrollUpdate(const PlatformGestureEvent& gesture
}
// If this is the main frame and it didn't scroll, propagate up to the pinch viewport.
- if (!m_frame->settings()->pinchVirtualViewportEnabled() || !m_frame->isMainFrame())
+ if (!m_frame->isMainFrame())
return consumed;
if (scrollAreaOnBothAxes(delta, m_frame->host()->pinchViewport())) {
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698