Index: components/policy/core/common/registry_dict.cc |
diff --git a/components/policy/core/common/registry_dict.cc b/components/policy/core/common/registry_dict.cc |
index 29c9df73133d7ec59a75f9a95b936961b18a4f2e..f4219042ab507f656d7bffe365b8735eb40bb803 100644 |
--- a/components/policy/core/common/registry_dict.cc |
+++ b/components/policy/core/common/registry_dict.cc |
@@ -76,7 +76,7 @@ std::unique_ptr<base::Value> ConvertValue(const base::Value& value, |
int int_value = 0; |
switch (schema.type()) { |
case base::Value::Type::NONE: { |
- return base::Value::CreateNullValue(); |
+ return base::MakeUnique<base::Value>(); |
} |
case base::Value::Type::BOOLEAN: { |
// Accept booleans encoded as either string or integer. |