| Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| index 459e94cb72b8170d0310c29074478d0a977d9581..d8643227ac5560cd0f46a438382a2a8e821f5edc 100644
|
| --- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| @@ -98,9 +98,9 @@ class RootScrollerTest : public ::testing::Test {
|
|
|
| WebViewImpl* webViewImpl() const { return m_helper.webView(); }
|
|
|
| - FrameHost& frameHost() const {
|
| - return m_helper.webView()->page()->frameHost();
|
| - }
|
| + Page& page() const { return *m_helper.webView()->page(); }
|
| +
|
| + FrameHost& frameHost() const { return page().frameHost(); }
|
|
|
| LocalFrame* mainFrame() const {
|
| return webViewImpl()->mainFrameImpl()->frame();
|
| @@ -116,9 +116,7 @@ class RootScrollerTest : public ::testing::Test {
|
| return frameHost().visualViewport();
|
| }
|
|
|
| - BrowserControls& browserControls() const {
|
| - return frameHost().browserControls();
|
| - }
|
| + BrowserControls& browserControls() const { return page().browserControls(); }
|
|
|
| Node* effectiveRootScroller(Document* doc) const {
|
| return &doc->rootScrollerController().effectiveRootScroller();
|
|
|