Index: chrome/test/base/web_ui_browser_test.cc |
diff --git a/chrome/test/base/web_ui_browser_test.cc b/chrome/test/base/web_ui_browser_test.cc |
index 4c8d5bc7c8ad02b2d21baf452880de543058013c..fd4e69d5d26ae9b355ce2530e6fc3bd03d460423 100644 |
--- a/chrome/test/base/web_ui_browser_test.cc |
+++ b/chrome/test/base/web_ui_browser_test.cc |
@@ -126,8 +126,8 @@ bool WebUIBrowserTest::RunJavascriptTestF(bool is_async, |
const std::string& test_fixture, |
const std::string& test_name) { |
ConstValueVector args; |
- args.push_back(new base::StringValue(test_fixture)); |
- args.push_back(new base::StringValue(test_name)); |
+ args.push_back(new base::Value(test_fixture)); |
+ args.push_back(new base::Value(test_name)); |
if (is_async) |
return RunJavascriptAsyncTest("RUN_TEST_F", args); |
@@ -207,8 +207,8 @@ void WebUIBrowserTest::PreLoadJavascriptLibraries( |
RenderViewHost* preload_host) { |
ASSERT_FALSE(libraries_preloaded_); |
ConstValueVector args; |
- args.push_back(new base::StringValue(preload_test_fixture)); |
- args.push_back(new base::StringValue(preload_test_name)); |
+ args.push_back(new base::Value(preload_test_fixture)); |
+ args.push_back(new base::Value(preload_test_name)); |
RunJavascriptUsingHandler( |
"preloadJavascriptLibraries", args, false, false, preload_host); |
libraries_preloaded_ = true; |