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

Unified Diff: components/sync/core_impl/test/fake_sync_manager.cc

Issue 2256733004: 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: components/sync/core_impl/test/fake_sync_manager.cc
diff --git a/components/sync/core_impl/test/fake_sync_manager.cc b/components/sync/core_impl/test/fake_sync_manager.cc
index 08ff5b6c3503dc3fed1414f3234e78f0e9a781dc..a102889a07ea0953b6ff3f85ea4813e6fa2e4eb3 100644
--- a/components/sync/core_impl/test/fake_sync_manager.cc
+++ b/components/sync/core_impl/test/fake_sync_manager.cc
@@ -201,7 +201,7 @@ UserShare* FakeSyncManager::GetUserShare() {
std::unique_ptr<syncer_v2::ModelTypeConnector>
FakeSyncManager::GetModelTypeConnectorProxy() {
- return base::WrapUnique(new syncer_v2::FakeModelTypeConnector());
+ return base::MakeUnique<syncer_v2::FakeModelTypeConnector>();
}
const std::string FakeSyncManager::cache_guid() {

Powered by Google App Engine
This is Rietveld 408576698