Index: components/wifi_sync/wifi_credential_syncable_service_factory.cc |
diff --git a/components/wifi_sync/wifi_credential_syncable_service_factory.cc b/components/wifi_sync/wifi_credential_syncable_service_factory.cc |
index 6f42289e74f4b216011994d4c9de66bae6b02f3d..efd8a25269a145d3a20f54764894776c487f3bbb 100644 |
--- a/components/wifi_sync/wifi_credential_syncable_service_factory.cc |
+++ b/components/wifi_sync/wifi_credential_syncable_service_factory.cc |
@@ -96,9 +96,9 @@ WifiCredentialSyncableServiceFactory::BuildWifiConfigDelegateChromeOs( |
// ChromeBrowserMainPartsChromeos, and destroyed after all |
// KeyedService instances are destroyed. |
chromeos::NetworkHandler* network_handler = chromeos::NetworkHandler::Get(); |
- return base::WrapUnique(new WifiConfigDelegateChromeOs( |
+ return base::MakeUnique<WifiConfigDelegateChromeOs>( |
GetUserHash(context, !ignore_login_state_for_test_), |
- network_handler->managed_network_configuration_handler())); |
+ network_handler->managed_network_configuration_handler()); |
} |
#endif |