Index: components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc |
diff --git a/components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc b/components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc |
index 0602b286380ffb1aade869cc01ec05926dc8b482..86d582918c7f441c7eae7f5c66a5511dd0ea28a9 100644 |
--- a/components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc |
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc |
@@ -33,8 +33,11 @@ class UserCloudPolicyManagerTest : public testing::Test { |
virtual void SetUp() OVERRIDE { |
// Set up a policy map for testing. |
- policy_map_.Set("key", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- base::Value::CreateStringValue("value"), NULL); |
+ policy_map_.Set("key", |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_USER, |
+ new base::StringValue("value"), |
+ NULL); |
expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) |
.CopyFrom(policy_map_); |
} |