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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.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/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 8dd0dbed3788300c03c57402df6fc5888679721f..4726e94c533d2302a000145eab10d30750339460 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -1376,7 +1376,7 @@ void CompositedLayerMapping::updateScrollingLayerGeometry(
pixelSnappedIntRect(layoutBox.overflowClipRect(LayoutPoint()));
const TopDocumentRootScrollerController& globalRootScrollerController =
- layoutBox.document().frameHost()->globalRootScrollerController();
+ layoutBox.document().page()->globalRootScrollerController();
if (&m_owningLayer == globalRootScrollerController.rootScrollerPaintLayer()) {
LayoutRect clipRect =

Powered by Google App Engine
This is Rietveld 408576698