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

Unified Diff: components/domain_reliability/scheduler.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/scheduler.cc
diff --git a/components/domain_reliability/scheduler.cc b/components/domain_reliability/scheduler.cc
index 6e0aa6b3d96f299ed7be988aab1fe828110e9dc5..f8d1c7eccd7f6294c19bd790223f52b8271454ea 100644
--- a/components/domain_reliability/scheduler.cc
+++ b/components/domain_reliability/scheduler.cc
@@ -184,7 +184,7 @@ std::unique_ptr<base::Value> DomainReliabilityScheduler::GetWebUIData() const {
}
std::unique_ptr<base::ListValue> collectors_value(new base::ListValue());
- for (const auto& collector : collectors_) {
+ for (auto* collector : collectors_) {
std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue());
value->SetInteger("failures", collector->failure_count());
value->SetInteger("next_upload",

Powered by Google App Engine
This is Rietveld 408576698