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

Unified Diff: mash/task_viewer/task_viewer.cc

Issue 2260443002: 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 | « mash/browser/browser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/task_viewer/task_viewer.cc
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc
index 867fd6ee6eafc61e1a84063b49010876ac6b74b0..d0e5259b2affc5fcc7c6b40294d1b6a22dfa471f 100644
--- a/mash/task_viewer/task_viewer.cc
+++ b/mash/task_viewer/task_viewer.cc
@@ -206,8 +206,7 @@ class TaskViewerContents : public views::WidgetDelegateView,
}
void InsertInstance(const shell::Identity& identity, uint32_t pid) {
- instances_.push_back(
- base::WrapUnique(new InstanceInfo(identity, pid)));
+ instances_.push_back(base::MakeUnique<InstanceInfo>(identity, pid));
}
void OnGotCatalogEntries(std::vector<catalog::mojom::EntryPtr> entries) {
« no previous file with comments | « mash/browser/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698