Index: components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc |
diff --git a/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc |
index 2f8d1eaa3cbd269561b71c215cd1c7a62cd5cdb9..a49b76cf63e5b99b40079dd4a0e9686faecf7be7 100644 |
--- a/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc |
+++ b/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc |
@@ -85,10 +85,16 @@ class ComponentCloudPolicyStoreTest : public testing::Test { |
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); |
} |
// Returns true if the policy exposed by the |store_| is empty. |