Index: components/wifi_sync/wifi_credential.cc |
diff --git a/components/wifi_sync/wifi_credential.cc b/components/wifi_sync/wifi_credential.cc |
index e4e9544cb9217a06d5cd35d9212e676f60e82d63..bbbb492f260e30f982bffd7fe86ad97702fc1bf2 100644 |
--- a/components/wifi_sync/wifi_credential.cc |
+++ b/components/wifi_sync/wifi_credential.cc |
@@ -50,7 +50,7 @@ std::unique_ptr<base::DictionaryValue> WifiCredential::ToOncProperties() const { |
if (!WifiSecurityClassToOncSecurityString(security_class(), &onc_security)) { |
NOTREACHED() << "Failed to convert SecurityClass with value " |
<< security_class(); |
- return base::WrapUnique(new base::DictionaryValue()); |
+ return base::MakeUnique<base::DictionaryValue>(); |
} |
std::unique_ptr<base::DictionaryValue> onc_properties( |