Index: base/metrics/histogram.cc |
diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc |
index 3b8ef86e232a3f6c20998f86bfb1eb70b963189b..42ced3d0abc2d366d7c077c349d5ff91c00f64fe 100644 |
--- a/base/metrics/histogram.cc |
+++ b/base/metrics/histogram.cc |
@@ -369,7 +369,7 @@ HistogramBase* Histogram::DeserializeInfoImpl(PickleIterator* iter) { |
scoped_ptr<SampleVector> Histogram::SnapshotSampleVector() const { |
scoped_ptr<SampleVector> samples(new SampleVector(bucket_ranges())); |
samples->Add(*samples_); |
- return samples; |
+ return samples.Pass(); |
} |
void Histogram::WriteAsciiImpl(bool graph_it, |