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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.cpp

Issue 2454913003: MainFrame scrollbars should work with RFV instead of FV (Closed)
Patch Set: Fix VisualViewportTest Created 4 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: third_party/WebKit/Source/core/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 7561c03b0fa49cf87afc275f79a099554c64e0d8..8514a0223f230d88487e6473fa2d8a8e72683295 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -296,6 +296,10 @@ bool VisualViewport::didSetScaleOrLocation(float scale,
clampToBoundaries();
+ // TODO(ymalik): VisualViewport shouldn't be talking to FrameView and this
+ // should happen through RootFrameViewport.
+ mainFrame()->view()->updateScrollbars();
bokan 2016/11/03 19:59:59 We don't need this anymore since you added it to R
ymalik 2016/11/04 18:54:17 Oops, forgot to remove. Thanks.
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698