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

Unified Diff: components/domain_reliability/context.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/domain_reliability/context.cc
diff --git a/components/domain_reliability/context.cc b/components/domain_reliability/context.cc
index 34b27cbf24bcab9d73375c4dff9ea1e79345d296..20b35a366d7ac938055100af7a7ac784a9015b3b 100644
--- a/components/domain_reliability/context.cc
+++ b/components/domain_reliability/context.cc
@@ -204,7 +204,7 @@ std::unique_ptr<const Value> DomainReliabilityContext::CreateReport(
int max_upload_depth = 0;
std::unique_ptr<ListValue> beacons_value(new ListValue());
- for (const auto& beacon : beacons_) {
+ for (auto* beacon : beacons_) {
beacons_value->Append(beacon->ToValue(upload_time,
*last_network_change_time_,
collector_url,

Powered by Google App Engine
This is Rietveld 408576698