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 5913ee1cd14fa57d012b0e9856ab25505150a82a..b99bc8af49d01d50e25735a436642e2c78b398ad 100644 |
--- a/components/policy/core/common/schema_map_unittest.cc |
+++ b/components/policy/core/common/schema_map_unittest.cc |
@@ -166,7 +166,7 @@ TEST_F(SchemaMapTest, FilterBundle) { |
map.Set("integer", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>(1), nullptr); |
map.Set("null", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, base::Value::CreateNullValue(), nullptr); |
+ POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>(), nullptr); |
map.Set("double", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>(1.2), nullptr); |
base::DictionaryValue dict; |