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

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: rebase+one fix 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 | « components/domain_reliability/config.cc ('k') | components/domain_reliability/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/context.cc
diff --git a/components/domain_reliability/context.cc b/components/domain_reliability/context.cc
index 34b27cbf24bcab9d73375c4dff9ea1e79345d296..723614a8172adc6548ff03cf3d62d88beae2c283 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 (const auto* beacon : beacons_) {
beacons_value->Append(beacon->ToValue(upload_time,
*last_network_change_time_,
collector_url,
« no previous file with comments | « components/domain_reliability/config.cc ('k') | components/domain_reliability/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698