Index: base/test/histogram_tester.cc |
diff --git a/base/test/histogram_tester.cc b/base/test/histogram_tester.cc |
index 59ea1c630217a3e9cdc3d986b8594bc5201db63b..5ca3c2fe9e8dd6145f05741fdf6022be49e877e0 100644 |
--- a/base/test/histogram_tester.cc |
+++ b/base/test/histogram_tester.cc |
@@ -23,7 +23,7 @@ HistogramTester::HistogramTester() { |
// be subtracted later. |
StatisticsRecorder::Histograms histograms; |
StatisticsRecorder::GetSnapshot(std::string(), &histograms); |
- for (const auto& histogram : histograms) { |
+ for (const auto* histogram : histograms) { |
histograms_snapshot_[histogram->histogram_name()] = |
histogram->SnapshotSamples(); |
} |