Index: components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
index 274b95d6521d322e1d78d6664200b028f1204462..785bd935e655b9caac77f9da6135e96f79237dfd 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
@@ -95,8 +95,11 @@ void TestHarness::InstallStringPolicy(const std::string& policy_name, |
void TestHarness::InstallIntegerPolicy(const std::string& policy_name, |
int policy_value) { |
- store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), |
- base::Value::CreateIntegerValue(policy_value), NULL); |
+ store_.policy_map_.Set(policy_name, |
+ policy_level(), |
+ policy_scope(), |
+ new base::FundamentalValue(policy_value), |
+ NULL); |
} |
void TestHarness::InstallBooleanPolicy(const std::string& policy_name, |