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

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: 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/monitor.cc ('k') | components/guest_view/browser/guest_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/scheduler.cc
diff --git a/components/domain_reliability/scheduler.cc b/components/domain_reliability/scheduler.cc
index 6e0aa6b3d96f299ed7be988aab1fe828110e9dc5..87a908103927e87d1812b88501f53fcd05e1ed6a 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 (const auto* collector : collectors_) {
std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue());
value->SetInteger("failures", collector->failure_count());
value->SetInteger("next_upload",
« no previous file with comments | « components/domain_reliability/monitor.cc ('k') | components/guest_view/browser/guest_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698