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

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

Issue 2454913003: MainFrame scrollbars should work with RFV instead of FV (Closed)
Patch Set: add test + rebase Created 4 years, 2 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
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 b3d9289919704cda8b0bba084442d9d350be34f9..c89d7d9cfa086bec8d4cb27fd3b6b4319c6515f2 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -296,6 +296,8 @@ bool VisualViewport::didSetScaleOrLocation(float scale,
clampToBoundaries();
+ mainFrame()->view()->updateScrollbars();
bokan 2016/10/31 15:25:09 VisualViewport shouldn't be talking to FrameView,
ymalik 2016/11/03 18:49:12 Yes you're right. I have RFV::didUpdateVisualView
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698