Index: base/metrics/persistent_sample_map.h |
diff --git a/base/metrics/persistent_sample_map.h b/base/metrics/persistent_sample_map.h |
index a23b751804d6067611b62d1e41232310591e475c..4ae54d8ae26f79af86d010deedc057fa759e3840 100644 |
--- a/base/metrics/persistent_sample_map.h |
+++ b/base/metrics/persistent_sample_map.h |
@@ -12,10 +12,10 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/metrics/histogram_base.h" |
#include "base/metrics/histogram_samples.h" |
#include "base/metrics/persistent_memory_allocator.h" |
@@ -36,7 +36,7 @@ class BASE_EXPORT PersistentSampleMap : public HistogramSamples { |
HistogramBase::Count count) override; |
HistogramBase::Count GetCount(HistogramBase::Sample value) const override; |
HistogramBase::Count TotalCount() const override; |
- scoped_ptr<SampleCountIterator> Iterator() const override; |
+ std::unique_ptr<SampleCountIterator> Iterator() const override; |
protected: |
// Performs arithemetic. |op| is ADD or SUBTRACT. |