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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.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/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 9c48aa460d5d47854e4cb6e1297010c976fcedea..a2b984eb04a445c3edb3221f1481b22b3b0c8845 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -495,7 +495,7 @@ void PaintLayerCompositor::updateClippingOnCompositorLayers() {
}
const TopDocumentRootScrollerController& globalRootScrollerController =
- m_layoutView.document().frameHost()->globalRootScrollerController();
+ m_layoutView.document().page()->globalRootScrollerController();
Element* documentElement = m_layoutView.document().documentElement();
bool frameIsRootScroller =
@@ -640,7 +640,7 @@ void PaintLayerCompositor::updateContainerSizes() {
FrameView* frameView = m_layoutView.frameView();
const TopDocumentRootScrollerController& globalRootScrollerController =
- m_layoutView.document().frameHost()->globalRootScrollerController();
+ m_layoutView.document().page()->globalRootScrollerController();
// The global root scroller must always size to the root FrameView.
if (rootLayer() &&

Powered by Google App Engine
This is Rietveld 408576698