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

Unified Diff: third_party/WebKit/Source/web/tests/RootScrollerTest.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/RootScrollerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
index ae6cd44c0e52ea29071819629b85450b2fb4c173..1ca7e9f3a0b896a2088f93f5ce35a0cef8612ad0 100644
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
@@ -123,22 +123,22 @@ public:
WebViewImpl* webViewImpl() const
{
- return m_helper.webViewImpl();
+ return m_helper.webView();
}
FrameHost& frameHost() const
{
- return m_helper.webViewImpl()->page()->frameHost();
+ return m_helper.webView()->page()->frameHost();
}
LocalFrame* mainFrame() const
{
- return toWebLocalFrameImpl(webViewImpl()->mainFrame())->frame();
+ return webViewImpl()->mainFrameImpl()->frame();
}
WebLocalFrame* mainWebFrame() const
{
- return toWebLocalFrameImpl(webViewImpl()->mainFrame());
+ return webViewImpl()->mainFrameImpl();
}
FrameView* mainFrameView() const

Powered by Google App Engine
This is Rietveld 408576698