Index: components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
diff --git a/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
index 54637476763e1a4d80e569ee7b5c7a857adeee5a..09e2bd4d7496f03d75d43b4c09c639a776017f9b 100644 |
--- a/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
+++ b/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc |
@@ -108,10 +108,16 @@ void ComponentCloudPolicyUpdaterTest::SetUp() { |
PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, kTestExtension); |
PolicyMap& policy = expected_bundle_.Get(ns); |
- policy.Set("Name", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- base::Value::CreateStringValue("disabled"), NULL); |
- policy.Set("Second", POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, |
- base::Value::CreateStringValue("maybe"), NULL); |
+ policy.Set("Name", |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_USER, |
+ new base::StringValue("disabled"), |
+ NULL); |
+ policy.Set("Second", |
+ POLICY_LEVEL_RECOMMENDED, |
+ POLICY_SCOPE_USER, |
+ new base::StringValue("maybe"), |
+ NULL); |
} |
void ComponentCloudPolicyUpdaterTest::TearDown() { |