| Index: base/trace_event/heap_profiler_heap_dump_writer.cc
|
| diff --git a/base/trace_event/heap_profiler_heap_dump_writer.cc b/base/trace_event/heap_profiler_heap_dump_writer.cc
|
| index b94c31246b9d347d42c285d04878c586ed7f9163..fe99e48d00b44b5d20ac8fe4fbfb0846a1e9796a 100644
|
| --- a/base/trace_event/heap_profiler_heap_dump_writer.cc
|
| +++ b/base/trace_event/heap_profiler_heap_dump_writer.cc
|
| @@ -248,9 +248,9 @@ const std::set<Entry>& HeapDumpWriter::Summarize(
|
| return entries_;
|
| }
|
|
|
| -scoped_ptr<TracedValue> Serialize(const std::set<Entry>& entries) {
|
| +std::unique_ptr<TracedValue> Serialize(const std::set<Entry>& entries) {
|
| std::string buffer;
|
| - scoped_ptr<TracedValue> traced_value(new TracedValue);
|
| + std::unique_ptr<TracedValue> traced_value(new TracedValue);
|
|
|
| traced_value->BeginArray("entries");
|
|
|
| @@ -289,7 +289,7 @@ scoped_ptr<TracedValue> Serialize(const std::set<Entry>& entries) {
|
|
|
| } // namespace internal
|
|
|
| -scoped_ptr<TracedValue> ExportHeapDump(
|
| +std::unique_ptr<TracedValue> ExportHeapDump(
|
| const hash_map<AllocationContext, size_t>& bytes_by_size,
|
| StackFrameDeduplicator* stack_frame_deduplicator,
|
| TypeNameDeduplicator* type_name_deduplicator) {
|
|
|