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

Unified Diff: ios/chrome/browser/signin/account_consistency_service_factory.mm

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/signin/account_consistency_service_factory.mm
diff --git a/ios/chrome/browser/signin/account_consistency_service_factory.mm b/ios/chrome/browser/signin/account_consistency_service_factory.mm
index f3a9818be2c30a4214171986ec88cdcc9d808be4..43409acfebce2a64e00e5bbea2eab050ba817178 100644
--- a/ios/chrome/browser/signin/account_consistency_service_factory.mm
+++ b/ios/chrome/browser/signin/account_consistency_service_factory.mm
@@ -53,13 +53,13 @@ AccountConsistencyServiceFactory::BuildServiceInstanceFor(
web::BrowserState* context) const {
ios::ChromeBrowserState* chrome_browser_state =
ios::ChromeBrowserState::FromBrowserState(context);
- return base::WrapUnique(new AccountConsistencyService(
+ return base::MakeUnique<AccountConsistencyService>(
chrome_browser_state,
ios::AccountReconcilorFactory::GetForBrowserState(chrome_browser_state),
ios::CookieSettingsFactory::GetForBrowserState(chrome_browser_state),
GaiaCookieManagerServiceFactory::GetForBrowserState(chrome_browser_state),
SigninClientFactory::GetForBrowserState(chrome_browser_state),
- ios::SigninManagerFactory::GetForBrowserState(chrome_browser_state)));
+ ios::SigninManagerFactory::GetForBrowserState(chrome_browser_state));
}
} // namespace ios

Powered by Google App Engine
This is Rietveld 408576698