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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2742673002: Remove FrameHost::globalRootScrollerController() (Closed)
Patch Set: Rebase Created 3 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
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 91cd671a4be2f683c7841a1b0e08b9872133b48a..0d1daa16f1119cd4ca763466afc582c7524c065b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3831,7 +3831,7 @@ void WebViewImpl::registerViewportLayersWithCompositor() {
// Get the outer viewport scroll layer.
GraphicsLayer* layoutViewportScrollLayer =
- page()->frameHost().globalRootScrollerController().rootScrollerLayer();
+ page()->globalRootScrollerController().rootScrollerLayer();
WebLayer* layoutViewportWebLayer =
layoutViewportScrollLayer ? layoutViewportScrollLayer->platformLayer()
: nullptr;

Powered by Google App Engine
This is Rietveld 408576698