Index: components/tracing/child_trace_message_filter.cc |
diff --git a/components/tracing/child_trace_message_filter.cc b/components/tracing/child_trace_message_filter.cc |
index b0b790a772247285bd5b7deb3882d507b958613e..ac05a180b5b60f92d0c69a6ea4ca615b3b546e6e 100644 |
--- a/components/tracing/child_trace_message_filter.cc |
+++ b/components/tracing/child_trace_message_filter.cc |
@@ -4,6 +4,8 @@ |
#include "components/tracing/child_trace_message_filter.h" |
+#include <memory> |
+ |
#include "base/memory/ref_counted_memory.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/metrics/statistics_recorder.h" |
@@ -255,12 +257,13 @@ void ChildTraceMessageFilter::OnSetUMACallback( |
if (!existing_histogram) |
return; |
- scoped_ptr<base::HistogramSamples> samples = |
+ std::unique_ptr<base::HistogramSamples> samples = |
existing_histogram->SnapshotSamples(); |
if (!samples) |
return; |
- scoped_ptr<base::SampleCountIterator> sample_iterator = samples->Iterator(); |
+ std::unique_ptr<base::SampleCountIterator> sample_iterator = |
+ samples->Iterator(); |
if (!sample_iterator) |
return; |