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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimTest.cpp

Issue 2860673002: Change all test cases to use WebViewBase instead of WebViewImpl. (Closed)
Patch Set: Address code review comments. Created 3 years, 7 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/sim/SimTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimTest.cpp b/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
index ab500b3de0784491d49e4d6d365c69d6f66163cb..33767adff521a10405836c56c8ae8baa1907d3e4 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
@@ -26,7 +26,7 @@ SimTest::SimTest() : web_view_client_(compositor_), web_frame_client_(*this) {
LayoutTestSupport::SetMockThemeEnabledForTest(true);
ScrollbarTheme::SetMockScrollbarsEnabled(true);
web_view_helper_.Initialize(true, &web_frame_client_, &web_view_client_);
- compositor_.SetWebViewImpl(WebView());
+ compositor_.SetWebView(WebView());
page_.SetPage(WebView().GetPage());
}
@@ -57,7 +57,7 @@ Document& SimTest::GetDocument() {
return *WebView().MainFrameImpl()->GetFrame()->GetDocument();
}
-WebViewImpl& SimTest::WebView() {
+WebViewBase& SimTest::WebView() {
return *web_view_helper_.WebView();
}

Powered by Google App Engine
This is Rietveld 408576698