Index: components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
diff --git a/components/policy/core/browser/configuration_policy_pref_store_unittest.cc b/components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
index 4b674208269f50753998063569323767657b3309..5e516b7eb38b713bfa4269a060126e987c115b4c 100644 |
--- a/components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
+++ b/components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
@@ -144,8 +144,11 @@ TEST_F(ConfigurationPolicyPrefStoreIntegerTest, GetDefault) { |
TEST_F(ConfigurationPolicyPrefStoreIntegerTest, SetValue) { |
PolicyMap policy; |
- policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, base::Value::CreateIntegerValue(2), NULL); |
+ policy.Set(kTestPolicy, |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_USER, |
+ new base::FundamentalValue(2), |
+ NULL); |
UpdateProviderPolicy(policy); |
const base::Value* value = NULL; |
EXPECT_TRUE(store_->GetValue(kTestPref, &value)); |