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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 731413002: Adjust DOMWindow properties to emulate old style pinch semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Check for scroll event handling in RAF callback Created 6 years, 1 month 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
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index aa145563f8de56b976758b8823ddee1cd60010d3..56408a11bb6bf0c92865321045563a79af5d80ad 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1531,6 +1531,7 @@ void FrameView::scrollElementToRect(Element* element, const IntRect& rect)
bool pinchVirtualViewportEnabled = m_frame->settings()->pinchVirtualViewportEnabled();
+ // FIXME: This needs an isMainFrame() check as well. crbug.com/378776.
if (pinchVirtualViewportEnabled) {
PinchViewport& pinchViewport = m_frame->page()->frameHost().pinchViewport();
« no previous file with comments | « LayoutTests/fast/dom/Window/window-scaled-viewport-properties-expected.txt ('k') | Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698