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

Unified Diff: components/domain_reliability/config.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
Index: components/domain_reliability/config.cc
diff --git a/components/domain_reliability/config.cc b/components/domain_reliability/config.cc
index df2dd45201ee4307d442cbb0e9f3fa6b322d8c04..765e0fa483719d0a1c2adc2f1cccf78caf29bc31 100644
--- a/components/domain_reliability/config.cc
+++ b/components/domain_reliability/config.cc
@@ -70,7 +70,7 @@ bool DomainReliabilityConfig::IsValid() const {
return false;
}
- for (const auto& url : collectors) {
+ for (const auto* url : collectors) {
if (!url->is_valid())
return false;
}
« no previous file with comments | « components/devtools_discovery/devtools_discovery_manager.cc ('k') | components/domain_reliability/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698