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

Unified Diff: components/browser_sync/browser/abstract_profile_sync_service_test.cc

Issue 2256813005: 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
« no previous file with comments | « no previous file | components/browser_sync/browser/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/browser/abstract_profile_sync_service_test.cc
diff --git a/components/browser_sync/browser/abstract_profile_sync_service_test.cc b/components/browser_sync/browser/abstract_profile_sync_service_test.cc
index 943ef62e849248bdba719631a811e677372f35e7..231656cd376e8956e1d3c61b16d376432e8ce61f 100644
--- a/components/browser_sync/browser/abstract_profile_sync_service_test.cc
+++ b/components/browser_sync/browser/abstract_profile_sync_service_test.cc
@@ -191,7 +191,7 @@ void AbstractProfileSyncServiceTest::CreateSyncService(
profile_sync_service_bundle_.CreateBasicInitParams(
ProfileSyncService::AUTO_START, std::move(sync_client));
sync_service_ =
- base::WrapUnique(new TestProfileSyncService(std::move(init_params)));
+ base::MakeUnique<TestProfileSyncService>(std::move(init_params));
SyncApiComponentFactoryMock* components =
profile_sync_service_bundle_.component_factory();
« no previous file with comments | « no previous file | components/browser_sync/browser/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698