| Index: chrome/browser/notifications/notification_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/notifications/notification_browsertest.cc (revision 174946)
|
| +++ chrome/browser/notifications/notification_browsertest.cc (working copy)
|
| @@ -274,8 +274,8 @@
|
| std::string result;
|
| bool success = content::ExecuteJavaScriptAndExtractString(
|
| browser->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
|
| - "",
|
| - script,
|
| + L"",
|
| + UTF8ToWide(script),
|
| &result);
|
| if (success && result != "-1" && wait_for_new_balloon)
|
| success = observer.Wait();
|
| @@ -301,8 +301,8 @@
|
| std::string result;
|
| bool success = content::ExecuteJavaScriptAndExtractString(
|
| browser->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
|
| - "",
|
| - "requestPermission();",
|
| + L"",
|
| + L"requestPermission();",
|
| &result);
|
| if (!success || result != "1")
|
| return false;
|
| @@ -321,8 +321,8 @@
|
| std::string result;
|
| bool success = content::ExecuteJavaScriptAndExtractString(
|
| browser->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
|
| - "",
|
| - script,
|
| + L"",
|
| + UTF8ToWide(script),
|
| &result);
|
| if (!success || result != "1")
|
| return false;
|
| @@ -414,8 +414,8 @@
|
| bool result;
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| browser()->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(request());",
|
| + L"",
|
| + L"window.domAutomationController.send(request());",
|
| &result));
|
| EXPECT_TRUE(result);
|
|
|
|
|