Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp

Issue 2165573003: Simplify tests by using Web*Impl types directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 78a970a4b27235849b13ba1913ddda7d8e2d700f..7eb6de98a36b6e279477c88693043b41f390b618 100644
--- a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
@@ -100,14 +100,14 @@ protected:
blink::FrameTestHelpers::loadFrame(
m_webViewHelper.webView()->mainFrame(),
"http://example.com/foo.html");
- m_webViewHelper.webViewImpl()->updateAllLifecyclePhases();
+ m_webViewHelper.webView()->updateAllLifecyclePhases();
}
blink::LocalFrame* frame()
{
- DCHECK(m_webViewHelper.webViewImpl());
- DCHECK(m_webViewHelper.webViewImpl()->mainFrameImpl());
- return m_webViewHelper.webViewImpl()->mainFrameImpl()->frame();
+ DCHECK(m_webViewHelper.webView());
+ DCHECK(m_webViewHelper.webView()->mainFrameImpl());
+ return m_webViewHelper.webView()->mainFrameImpl()->frame();
}
blink::Screen* screen()

Powered by Google App Engine
This is Rietveld 408576698