Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5165)

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_service_factory.cc

Issue 2257103002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/platform_keys/platform_keys_service_factory.cc
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_service_factory.cc b/chrome/browser/chromeos/platform_keys/platform_keys_service_factory.cc
index c188e74b2f8a589f410e5bb9127faa86b1796aa2..6a434a7f7c98a596ed98f7c561a37e30f65eb5ad 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_service_factory.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_service_factory.cc
@@ -114,7 +114,7 @@ KeyedService* PlatformKeysServiceFactory::BuildServiceInstanceFor(
policy_connector->IsManaged(), profile->GetPrefs(),
policy_connector->policy_service(), context, store);
- service->SetSelectDelegate(base::WrapUnique(new DefaultSelectDelegate()));
+ service->SetSelectDelegate(base::MakeUnique<DefaultSelectDelegate>());
return service;
}

Powered by Google App Engine
This is Rietveld 408576698