Index: base/metrics/sparse_histogram.cc |
diff --git a/base/metrics/sparse_histogram.cc b/base/metrics/sparse_histogram.cc |
index 737ccad72f23553837ffebf47c2c4eaf59213ed5..773eeb6273c5f8feef7eb77b545cf978d882a223 100644 |
--- a/base/metrics/sparse_histogram.cc |
+++ b/base/metrics/sparse_histogram.cc |
@@ -57,7 +57,7 @@ scoped_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { |
base::AutoLock auto_lock(lock_); |
snapshot->Add(samples_); |
- return snapshot.PassAs<HistogramSamples>(); |
+ return snapshot.Pass(); |
} |
void SparseHistogram::AddSamples(const HistogramSamples& samples) { |