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

Unified Diff: components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase 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
Index: components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc
diff --git a/components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc b/components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc
index 2ba95a5c4143c61e0fc1305c31c26dcb5083b5ab..bef3f95716392e44f758198a36267a8cf304fc30 100644
--- a/components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc
+++ b/components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc
@@ -48,20 +48,20 @@ TEST(protobuf_to_mojo_converterTest, ConvertReport) {
report.set_num_rising_intervals(5);
report.set_num_allocs_increase(42);
- auto entry1 = report.add_alloc_breakdown_history();
+ auto* entry1 = report.add_alloc_breakdown_history();
entry1->add_counts_by_size(1);
entry1->add_counts_by_size(2);
entry1->add_counts_by_size(3);
entry1->set_count_for_call_stack(4);
- auto entry2 = report.add_alloc_breakdown_history();
+ auto* entry2 = report.add_alloc_breakdown_history();
entry2->add_counts_by_size(11);
entry2->add_counts_by_size(12);
entry2->add_counts_by_size(13);
entry2->add_counts_by_size(14);
entry2->set_count_for_call_stack(15);
- auto entry3 = report.add_alloc_breakdown_history();
+ auto* entry3 = report.add_alloc_breakdown_history();
entry3->add_counts_by_size(21);
entry3->add_counts_by_size(22);
entry3->add_counts_by_size(23);

Powered by Google App Engine
This is Rietveld 408576698