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

Unified Diff: ios/chrome/browser/sync/ios_chrome_sync_client.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/sync/ios_chrome_sync_client.mm
diff --git a/ios/chrome/browser/sync/ios_chrome_sync_client.mm b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
index 56771f53c1161c9f07d0bc9e438ab0e52e558ae5..9b17cbfa2fea7ba3ffff58637a5c19eb5cc06afe 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -116,8 +116,8 @@ class SyncSessionsClientImpl : public sync_sessions::SyncSessionsClient {
syncer::SyncableService::StartSyncFlare flare(
ios::sync_start_util::GetFlareForSyncableService(
browser_state_->GetStatePath()));
- return base::WrapUnique(
- new IOSChromeLocalSessionEventRouter(browser_state_, this, flare));
+ return base::MakeUnique<IOSChromeLocalSessionEventRouter>(browser_state_,
+ this, flare);
}
private:
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc ('k') | ios/chrome/browser/sync/sync_setup_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698