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

Unified Diff: ui/views/controls/webview/webview_interactive_uitest.cc

Issue 1142123002: Remove swapped-out usage in --site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another round of fixes. Created 5 years, 6 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
« no previous file with comments | « testing/buildbot/chromium.fyi.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/webview_interactive_uitest.cc
diff --git a/ui/views/controls/webview/webview_interactive_uitest.cc b/ui/views/controls/webview/webview_interactive_uitest.cc
index e13b24ea1c0f120f244cd9c4342b1ba9c474610d..88aab9fc816fa4b3d4b0cd6902f3e19f70d699f1 100644
--- a/ui/views/controls/webview/webview_interactive_uitest.cc
+++ b/ui/views/controls/webview/webview_interactive_uitest.cc
@@ -92,8 +92,8 @@ TEST_F(WebViewInteractiveUiTest, TextInputClientIsUpToDate) {
content::WebContents* web_contents1 = webview->GetWebContents();
web_contents1->GetRenderViewHost()->GetProcess()->Init();
content::RenderViewHostTester::For(web_contents1->GetRenderViewHost())
- ->CreateRenderView(base::string16(), MSG_ROUTING_NONE, MSG_ROUTING_NONE,
- -1, false);
+ ->CreateTestRenderView(base::string16(), MSG_ROUTING_NONE,
+ MSG_ROUTING_NONE, -1, false);
webview->RequestFocus();
ui::TextInputClient* client1 = webview->GetTextInputClient();
EXPECT_NE(nullptr, client1);
@@ -105,8 +105,8 @@ TEST_F(WebViewInteractiveUiTest, TextInputClientIsUpToDate) {
nullptr));
web_contents2->GetRenderViewHost()->GetProcess()->Init();
content::RenderViewHostTester::For(web_contents2->GetRenderViewHost())
- ->CreateRenderView(base::string16(), MSG_ROUTING_NONE, MSG_ROUTING_NONE,
- -1, false);
+ ->CreateTestRenderView(base::string16(), MSG_ROUTING_NONE,
+ MSG_ROUTING_NONE, -1, false);
webview->SetWebContents(web_contents2.get());
ui::TextInputClient* client2 = webview->GetTextInputClient();
EXPECT_NE(nullptr, client2);
« no previous file with comments | « testing/buildbot/chromium.fyi.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698