| Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| index b404b6da61d478de48b9b772c42ddbf12d2f65d6..70fdb9d20e141cdc9dd428b330f363f4a20825ff 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -159,9 +159,7 @@ class VisualViewportTest
|
| }
|
|
|
| WebViewBase* WebViewImpl() const { return helper_.WebView(); }
|
| - LocalFrame* GetFrame() const {
|
| - return helper_.WebView()->MainFrameImpl()->GetFrame();
|
| - }
|
| + LocalFrame* GetFrame() const { return helper_.LocalMainFrame()->GetFrame(); }
|
|
|
| static void ConfigureSettings(WebSettings* settings) {
|
| settings->SetJavaScriptEnabled(true);
|
|
|