| Index: base/metrics/histogram_samples.cc
|
| diff --git a/base/metrics/histogram_samples.cc b/base/metrics/histogram_samples.cc
|
| index 246a020495222be9806c90e36c153d378fe8d854..d42bd00fce7d932c690bca6692db13a6c2ba4144 100644
|
| --- a/base/metrics/histogram_samples.cc
|
| +++ b/base/metrics/histogram_samples.cc
|
| @@ -141,8 +141,7 @@ bool HistogramSamples::Serialize(Pickle* pickle) const {
|
| HistogramBase::Sample min;
|
| HistogramBase::Sample max;
|
| HistogramBase::Count count;
|
| - for (scoped_ptr<SampleCountIterator> it = Iterator();
|
| - !it->Done();
|
| + for (std::unique_ptr<SampleCountIterator> it = Iterator(); !it->Done();
|
| it->Next()) {
|
| it->Get(&min, &max, &count);
|
| if (!pickle->WriteInt(min) ||
|
|
|