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

Unified Diff: chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc

Issue 2195503002: chrome/browser/metrics: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | chrome/browser/metrics/perf/cpu_identity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc
diff --git a/chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc b/chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc
index 118b3f8aff83e333a868f12ba6ad1e2c25676ef9..cee55ccb4d6770e34fcc3576d2c214c206825f3f 100644
--- a/chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc
+++ b/chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc
@@ -83,7 +83,7 @@ TEST(LeakDetectorControllerTest, SingleReport) {
TEST(LeakDetectorControllerTest, SingleReportHistory) {
MemoryLeakReportProto report;
- auto entry = report.add_alloc_breakdown_history();
+ auto* entry = report.add_alloc_breakdown_history();
InitializeRepeatedField({100, 200, 300}, entry->mutable_counts_by_size());
entry->set_count_for_call_stack(15);
« no previous file with comments | « no previous file | chrome/browser/metrics/perf/cpu_identity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698