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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp

Issue 2730313002: Remove FrameHost::overscrollController() methods (Closed)
Patch Set: 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/page/scrolling/TopDocumentRootScrollerController.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
index 956775c592f043952f1a42c666bb6074a5d54354..f7b23fd7b6cb147274247f0cb77f987eb1f282f5 100644
--- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
@@ -227,8 +227,8 @@ void TopDocumentRootScrollerController::initializeViewportScrollCallback(
RootFrameViewport& rootFrameViewport) {
DCHECK(m_frameHost);
m_viewportApplyScroll = ViewportScrollCallback::create(
- &m_frameHost->browserControls(), &m_frameHost->overscrollController(),
- rootFrameViewport);
+ &m_frameHost->browserControls(),
+ &m_frameHost->page().overscrollController(), rootFrameViewport);
recomputeGlobalRootScroller();
}

Powered by Google App Engine
This is Rietveld 408576698