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

Unified Diff: chromecast/crash/linux/dump_info.cc

Issue 2258493003: 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: chromecast/crash/linux/dump_info.cc
diff --git a/chromecast/crash/linux/dump_info.cc b/chromecast/crash/linux/dump_info.cc
index 4c523f65511848e31e8e2e4a93dedd6da12afc6a..fac15b5522081fddfd49206902d27d260f8dd608 100644
--- a/chromecast/crash/linux/dump_info.cc
+++ b/chromecast/crash/linux/dump_info.cc
@@ -54,7 +54,7 @@ DumpInfo::~DumpInfo() {
std::unique_ptr<base::Value> DumpInfo::GetAsValue() const {
std::unique_ptr<base::Value> result =
- base::WrapUnique(new base::DictionaryValue());
+ base::MakeUnique<base::DictionaryValue>();
base::DictionaryValue* entry;
result->GetAsDictionary(&entry);
entry->SetString(kNameKey, params_.process_name);
« no previous file with comments | « chromecast/crash/linux/crash_testing_utils.cc ('k') | chromecast/crash/linux/synchronized_minidump_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698