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

Unified Diff: components/sync/driver/fake_sync_service.cc

Issue 2256733004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: components/sync/driver/fake_sync_service.cc
diff --git a/components/sync/driver/fake_sync_service.cc b/components/sync/driver/fake_sync_service.cc
index c12a1eec1ab8f3fb12d90bb2944221a09f887aac..5f12a7dffa2cabc727130348c23b36317e88f822 100644
--- a/components/sync/driver/fake_sync_service.cc
+++ b/components/sync/driver/fake_sync_service.cc
@@ -14,7 +14,7 @@ namespace sync_driver {
FakeSyncService::FakeSyncService()
: error_(GoogleServiceAuthError::NONE),
- user_share_(base::WrapUnique(new syncer::UserShare())) {}
+ user_share_(base::MakeUnique<syncer::UserShare>()) {}
FakeSyncService::~FakeSyncService() {}
« no previous file with comments | « components/sync/driver/fake_sync_client.cc ('k') | components/sync/driver/generic_change_processor_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698