Index: components/policy/core/common/schema_map_unittest.cc |
diff --git a/components/policy/core/common/schema_map_unittest.cc b/components/policy/core/common/schema_map_unittest.cc |
index 77d332be6efe88f2fff06ec1cd3124767f08e54b..71dcc68d1ea5776209b8e666d6e38a2a7b283490 100644 |
--- a/components/policy/core/common/schema_map_unittest.cc |
+++ b/components/policy/core/common/schema_map_unittest.cc |
@@ -174,8 +174,11 @@ TEST_F(SchemaMapTest, FilterBundle) { |
NULL); |
map.Set("null", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
base::Value::CreateNullValue(), NULL); |
- map.Set("double", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- base::Value::CreateDoubleValue(1.2), NULL); |
+ map.Set("double", |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_USER, |
+ new base::FundamentalValue(1.2), |
+ NULL); |
base::DictionaryValue dict; |
dict.SetString("a", "b"); |
dict.SetInteger("b", 2); |