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

Unified Diff: components/sync/core/processor_entity_tracker_unittest.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
« no previous file with comments | « components/sync/core/model_type_store_impl.cc ('k') | components/sync/core/shared_model_type_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/processor_entity_tracker_unittest.cc
diff --git a/components/sync/core/processor_entity_tracker_unittest.cc b/components/sync/core/processor_entity_tracker_unittest.cc
index c49c12212ff654a802a4b92c82d7c8fbd242213d..58c10c81dde0c6058e49158fe5116c5da427bf41 100644
--- a/components/sync/core/processor_entity_tracker_unittest.cc
+++ b/components/sync/core/processor_entity_tracker_unittest.cc
@@ -70,7 +70,7 @@ UpdateResponseData GenerateTombstone(const ProcessorEntityTracker& entity,
const std::string& name,
const base::Time& mtime,
int64_t version) {
- std::unique_ptr<EntityData> data = base::WrapUnique(new EntityData());
+ std::unique_ptr<EntityData> data = base::MakeUnique<EntityData>();
data->client_tag_hash = hash;
data->non_unique_name = name;
data->id = id;
« no previous file with comments | « components/sync/core/model_type_store_impl.cc ('k') | components/sync/core/shared_model_type_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698