Index: third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp b/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp |
index 1c597485c84e12d70f071fb94b3416352206b18e..ac1132f8403dc91b9f2533160d6e7a876c83992b 100644 |
--- a/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp |
@@ -127,9 +127,7 @@ class BrowserControlsTest : public ::testing::Test { |
} |
WebViewBase* GetWebView() const { return helper_.WebView(); } |
- LocalFrame* GetFrame() const { |
- return helper_.WebView()->MainFrameImpl()->GetFrame(); |
- } |
+ LocalFrame* GetFrame() const { return helper_.LocalMainFrame()->GetFrame(); } |
VisualViewport& GetVisualViewport() const { |
return helper_.WebView()->GetPage()->GetVisualViewport(); |
} |