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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc

Issue 2256193002: 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: ios/chrome/browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc
diff --git a/ios/chrome/browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc b/ios/chrome/browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc
index 479f56bd3318fd0980e50a150b3b88081e1df23f..e891a39eca414593a4cc1f14cbfeff9917300675 100644
--- a/ios/chrome/browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc
+++ b/ios/chrome/browser/passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc
@@ -41,9 +41,9 @@ IOSChromePasswordManagerSettingMigratorServiceFactory::BuildServiceInstanceFor(
web::BrowserState* context) const {
ios::ChromeBrowserState* browser_state =
ios::ChromeBrowserState::FromBrowserState(context);
- return base::WrapUnique(
- new password_manager::PasswordManagerSettingMigratorService(
- browser_state->GetSyncablePrefs()));
+ return base::MakeUnique<
+ password_manager::PasswordManagerSettingMigratorService>(
+ browser_state->GetSyncablePrefs());
}
web::BrowserState*

Powered by Google App Engine
This is Rietveld 408576698