Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
index ded0f9f5967dccd99337bf98274cb1c5fa2e1420..8283d9c72b472f2124c6f2bfb39c7d4517f1bf92 100644 |
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
@@ -266,7 +266,7 @@ void NetworkConfigurationPolicyHandler::PrepareForDisplaying( |
std::unique_ptr<base::Value> sanitized_config = |
SanitizeNetworkConfig(entry->value.get()); |
if (!sanitized_config) |
- sanitized_config = base::Value::CreateNullValue(); |
+ sanitized_config = base::MakeUnique<base::Value>(); |
policies->Set(policy_name(), entry->level, entry->scope, entry->source, |
std::move(sanitized_config), nullptr); |