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

Unified Diff: components/metrics/leak_detector/protobuf_to_mojo_converter.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
« no previous file with comments | « components/exo/surface.cc ('k') | components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/leak_detector/protobuf_to_mojo_converter.cc
diff --git a/components/metrics/leak_detector/protobuf_to_mojo_converter.cc b/components/metrics/leak_detector/protobuf_to_mojo_converter.cc
index 8d185678864942339f16d0e2afe22c4230ab63e1..bd827386389c80283f9833e0c25cf351e61299fd 100644
--- a/components/metrics/leak_detector/protobuf_to_mojo_converter.cc
+++ b/components/metrics/leak_detector/protobuf_to_mojo_converter.cc
@@ -58,7 +58,7 @@ void MojoToReport(const mojom::MemoryLeakReport& mojo_report,
report->add_call_stack(call_stack_addr);
for (const auto& history_entry : mojo_report.alloc_breakdown_history) {
- auto proto_entry = report->add_alloc_breakdown_history();
+ auto* proto_entry = report->add_alloc_breakdown_history();
for (auto count : history_entry->counts_by_size) {
proto_entry->add_counts_by_size(count);
}
« no previous file with comments | « components/exo/surface.cc ('k') | components/metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698