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

Unified Diff: base/trace_event/malloc_dump_provider.cc

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 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 | « base/trace_event/malloc_dump_provider.h ('k') | base/trace_event/memory_allocator_dump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/malloc_dump_provider.cc
diff --git a/base/trace_event/malloc_dump_provider.cc b/base/trace_event/malloc_dump_provider.cc
index d8f82edfed52090195560dc1aa1dde2b656160f8..17e5c1e62074f95720442ee3b49a944607b490bf 100644
--- a/base/trace_event/malloc_dump_provider.cc
+++ b/base/trace_event/malloc_dump_provider.cc
@@ -191,7 +191,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args,
} // lock(allocation_register_lock_)
if (!bytes_by_context.empty()) {
- scoped_ptr<TracedValue> heap_dump = ExportHeapDump(
+ std::unique_ptr<TracedValue> heap_dump = ExportHeapDump(
bytes_by_context, pmd->session_state()->stack_frame_deduplicator(),
pmd->session_state()->type_name_deduplicator());
pmd->AddHeapDump("malloc", std::move(heap_dump));
« no previous file with comments | « base/trace_event/malloc_dump_provider.h ('k') | base/trace_event/memory_allocator_dump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698