Index: chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
diff --git a/chrome/browser/extensions/webstore_startup_installer_browsertest.cc b/chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
index 0afb3ca8a25fba24088645025aaca981dea34d58..62ac4f9cdfe8a6412f0fa985a6061f188209a518 100644 |
--- a/chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
+++ b/chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
@@ -82,7 +82,8 @@ class WebstoreStartupInstallerTest : public InProcessBrowserTest { |
void RunTest(const std::string& test_function_name) { |
bool result = false; |
- std::string script = StringPrintf("%s('%s')", test_function_name.c_str(), |
+ std::string script = base::StringPrintf( |
+ "%s('%s')", test_function_name.c_str(), |
test_gallery_url_.c_str()); |
ASSERT_TRUE(content::ExecuteScriptAndExtractBool( |
browser()->tab_strip_model()->GetActiveWebContents(), |
@@ -100,7 +101,7 @@ class WebstoreStartupInstallerTest : public InProcessBrowserTest { |
bool RunIndexedTest(const std::string& test_function_name, |
int i) { |
std::string result = "FAILED"; |
- std::string script = StringPrintf("%s('%s', %d)", |
+ std::string script = base::StringPrintf("%s('%s', %d)", |
test_function_name.c_str(), test_gallery_url_.c_str(), i); |
EXPECT_TRUE(content::ExecuteScriptAndExtractString( |
browser()->tab_strip_model()->GetActiveWebContents(), |