Index: third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp |
index 75ce3f12563f00609932979b70816b0b252a1c52..000d9991d122812f51ad9cfcf7b6228e1caa589d 100644 |
--- a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp |
@@ -104,8 +104,8 @@ class ScreenWakeLockTest : public ::testing::Test { |
LocalFrame* GetFrame() { |
DCHECK(web_view_helper_.WebView()); |
- DCHECK(web_view_helper_.WebView()->MainFrameImpl()); |
- return web_view_helper_.WebView()->MainFrameImpl()->GetFrame(); |
+ DCHECK(web_view_helper_.LocalMainFrame()); |
+ return web_view_helper_.LocalMainFrame()->GetFrame(); |
} |
Screen* GetScreen() { |