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

Unified Diff: components/domain_reliability/header.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/google_configs_unittest.cc ('k') | components/domain_reliability/monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/header.cc
diff --git a/components/domain_reliability/header.cc b/components/domain_reliability/header.cc
index 5a034047d2957f2888f8d561f8929936e77142da..1e9cb6af19f3ce35fab465fc63ed54d064b7858a 100644
--- a/components/domain_reliability/header.cc
+++ b/components/domain_reliability/header.cc
@@ -284,7 +284,7 @@ std::string DomainReliabilityHeader::ToString() const {
DCHECK_EQ(0, max_age_s);
} else {
string += "report-uri=";
- for (const auto& uri : config_->collectors)
+ for (const auto* uri : config_->collectors)
string += uri->spec() + " ";
// Remove trailing space.
string.erase(string.length() - 1, 1);
« no previous file with comments | « components/domain_reliability/google_configs_unittest.cc ('k') | components/domain_reliability/monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698