Index: content/browser/renderer_host/render_widget_host_view_win_browsertest.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_win_browsertest.cc b/content/browser/renderer_host/render_widget_host_view_win_browsertest.cc |
index 357fedbe66c8632c0bae9c3991960ccf7013293e..8c0bb3074f76bdd8223cf3423f9b9f6e8838bc56 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_win_browsertest.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_win_browsertest.cc |
@@ -41,8 +41,9 @@ IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewWinTest, |
// Focus to the text field, the IME should be enabled. |
bool success = false; |
EXPECT_TRUE(ExecuteJavaScriptAndExtractBool( |
- shell()->web_contents()->GetRenderViewHost(), L"", |
- L"window.domAutomationController.send(text01_focus());", |
+ shell()->web_contents()->GetRenderViewHost(), |
+ "", |
+ "window.domAutomationController.send(text01_focus());", |
&success)); |
EXPECT_TRUE(success); |
WaitForLoadStop(shell()->web_contents()); |
@@ -52,8 +53,9 @@ IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewWinTest, |
// Focus to the password field, the IME should be disabled. |
success = false; |
EXPECT_TRUE(ExecuteJavaScriptAndExtractBool( |
- shell()->web_contents()->GetRenderViewHost(), L"", |
- L"window.domAutomationController.send(password02_focus());", |
+ shell()->web_contents()->GetRenderViewHost(), |
+ "", |
+ "window.domAutomationController.send(password02_focus());", |
&success)); |
EXPECT_TRUE(success); |
WaitForLoadStop(shell()->web_contents()); |
@@ -79,8 +81,9 @@ IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewWinTest, |
// Focus to the text field, the IME should be enabled. |
bool success = false; |
EXPECT_TRUE(ExecuteJavaScriptAndExtractBool( |
- shell()->web_contents()->GetRenderViewHost(), L"", |
- L"window.domAutomationController.send(text01_focus());", |
+ shell()->web_contents()->GetRenderViewHost(), |
+ "", |
+ "window.domAutomationController.send(text01_focus());", |
&success)); |
EXPECT_TRUE(success); |
WaitForLoadStop(shell()->web_contents()); |
@@ -90,8 +93,9 @@ IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewWinTest, |
// Focus to another text field, the IME should be enabled. |
success = false; |
EXPECT_TRUE(ExecuteJavaScriptAndExtractBool( |
- shell()->web_contents()->GetRenderViewHost(), L"", |
- L"window.domAutomationController.send(text02_focus());", |
+ shell()->web_contents()->GetRenderViewHost(), |
+ "", |
+ "window.domAutomationController.send(text02_focus());", |
&success)); |
EXPECT_TRUE(success); |
WaitForLoadStop(shell()->web_contents()); |
@@ -117,8 +121,9 @@ IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewWinTest, |
// Focus to the password field, the IME should be disabled. |
bool success = false; |
EXPECT_TRUE(ExecuteJavaScriptAndExtractBool( |
- shell()->web_contents()->GetRenderViewHost(), L"", |
- L"window.domAutomationController.send(password01_focus());", |
+ shell()->web_contents()->GetRenderViewHost(), |
+ "", |
+ "window.domAutomationController.send(password01_focus());", |
&success)); |
EXPECT_TRUE(success); |
WaitForLoadStop(shell()->web_contents()); |
@@ -128,8 +133,9 @@ IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewWinTest, |
// Focus to the another password field, the IME should be disabled. |
success = false; |
EXPECT_TRUE(ExecuteJavaScriptAndExtractBool( |
- shell()->web_contents()->GetRenderViewHost(), L"", |
- L"window.domAutomationController.send(password02_focus());", |
+ shell()->web_contents()->GetRenderViewHost(), |
+ "", |
+ "window.domAutomationController.send(password02_focus());", |
&success)); |
EXPECT_TRUE(success); |
WaitForLoadStop(shell()->web_contents()); |