Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1332)

Unified Diff: base/test/histogram_tester.cc

Issue 2691573003: base: Remove auto raw pointer deduction. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/path_service.cc ('k') | base/threading/thread_local_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/histogram_tester.cc
diff --git a/base/test/histogram_tester.cc b/base/test/histogram_tester.cc
index 59ea1c630217a3e9cdc3d986b8594bc5201db63b..87f4f9cbd25ca7c32663005f2cac2e2c93531d7a 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 (auto* histogram : histograms) {
danakj 2017/02/13 18:06:55 I think this can be const
vmpstr 2017/02/13 19:39:41 Done.
histograms_snapshot_[histogram->histogram_name()] =
histogram->SnapshotSamples();
}
« no previous file with comments | « base/path_service.cc ('k') | base/threading/thread_local_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698