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

Unified Diff: components/domain_reliability/dispatcher.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/context.cc ('k') | components/domain_reliability/google_configs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/dispatcher.cc
diff --git a/components/domain_reliability/dispatcher.cc b/components/domain_reliability/dispatcher.cc
index c3af45cb424d8a7c585671f706e090f8207d7e00..c5ca4631c8b57abe434ebf21a5d23cefb3b29346 100644
--- a/components/domain_reliability/dispatcher.cc
+++ b/components/domain_reliability/dispatcher.cc
@@ -76,7 +76,7 @@ void DomainReliabilityDispatcher::RunEligibleTasks() {
std::set<Task*> tasks;
tasks.swap(eligible_tasks_);
- for (auto& task : tasks) {
+ for (auto* task : tasks) {
DCHECK(task);
DCHECK(task->eligible);
RunAndDeleteTask(task);
« no previous file with comments | « components/domain_reliability/context.cc ('k') | components/domain_reliability/google_configs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698