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 a30490f1c65d86fe91f248096ea91f975cd33ec7..5d6d6d3fb280d241804e343a125a07cfdbfc5af3 100644 |
--- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp |
+++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp |
@@ -81,7 +81,7 @@ void TopDocumentRootScrollerController::recomputeGlobalRootScroller() { |
m_globalRootScroller->removeApplyScroll(); |
// Use disable-native-scroll since the ViewportScrollCallback needs to |
- // apply scroll actions both before (TopControls) and after (overscroll) |
+ // apply scroll actions both before (BrowserControls) and after (overscroll) |
// scrolling the element so it will apply scroll to the element itself. |
target->setApplyScroll(m_viewportApplyScroll, "disable-native-scroll"); |
@@ -146,7 +146,7 @@ void TopDocumentRootScrollerController::initializeViewportScrollCallback( |
RootFrameViewport& rootFrameViewport) { |
DCHECK(m_frameHost); |
m_viewportApplyScroll = ViewportScrollCallback::create( |
- &m_frameHost->topControls(), &m_frameHost->overscrollController(), |
+ &m_frameHost->browserControls(), &m_frameHost->overscrollController(), |
rootFrameViewport); |
recomputeGlobalRootScroller(); |