Index: chrome/browser/extensions/webstore_standalone_install_browsertest.cc |
diff --git a/chrome/browser/extensions/webstore_standalone_install_browsertest.cc b/chrome/browser/extensions/webstore_standalone_install_browsertest.cc |
index 70bbeca261cbcb23d969a7efe5aa6de6e8522e1a..4b7296a5f298639102869bdf07aa75d6a93e7ff9 100644 |
--- a/chrome/browser/extensions/webstore_standalone_install_browsertest.cc |
+++ b/chrome/browser/extensions/webstore_standalone_install_browsertest.cc |
@@ -85,8 +85,10 @@ class WebstoreStandaloneInstallTest : public InProcessBrowserTest { |
std::string script = StringPrintf("%s('%s')", test_function_name.c_str(), |
test_gallery_url_.c_str()); |
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool( |
- chrome::GetActiveWebContents(browser())->GetRenderViewHost(), L"", |
- UTF8ToWide(script), &result)); |
+ chrome::GetActiveWebContents(browser())->GetRenderViewHost(), |
+ "", |
+ script, |
+ &result)); |
EXPECT_TRUE(result); |
} |