Index: chrome/browser/ui/webui/policy_ui_browsertest.cc |
diff --git a/chrome/browser/ui/webui/policy_ui_browsertest.cc b/chrome/browser/ui/webui/policy_ui_browsertest.cc |
index e80dc082b90ebe011289d6b7c4fc3dbed907fefe..efb16df769b84fb7674214ef83c2510f07e93c67 100644 |
--- a/chrome/browser/ui/webui/policy_ui_browsertest.cc |
+++ b/chrome/browser/ui/webui/policy_ui_browsertest.cc |
@@ -198,9 +198,9 @@ IN_PROC_BROWSER_TEST_F(PolicyUITest, SendPolicyValues) { |
// Set the values of four existing policies. |
base::ListValue* restore_on_startup_urls = new base::ListValue; |
- restore_on_startup_urls->Append(base::Value::CreateStringValue("aaa")); |
- restore_on_startup_urls->Append(base::Value::CreateStringValue("bbb")); |
- restore_on_startup_urls->Append(base::Value::CreateStringValue("ccc")); |
+ restore_on_startup_urls->Append(new base::StringValue("aaa")); |
+ restore_on_startup_urls->Append(new base::StringValue("bbb")); |
+ restore_on_startup_urls->Append(new base::StringValue("ccc")); |
values.Set(policy::key::kRestoreOnStartupURLs, |
policy::POLICY_LEVEL_MANDATORY, |
policy::POLICY_SCOPE_USER, |
@@ -210,7 +210,7 @@ IN_PROC_BROWSER_TEST_F(PolicyUITest, SendPolicyValues) { |
values.Set(policy::key::kHomepageLocation, |
policy::POLICY_LEVEL_MANDATORY, |
policy::POLICY_SCOPE_MACHINE, |
- base::Value::CreateStringValue("http://google.com"), |
+ new base::StringValue("http://google.com"), |
NULL); |
expected_values[policy::key::kHomepageLocation] = "http://google.com"; |
values.Set(policy::key::kRestoreOnStartup, |