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

Unified Diff: components/scheduler/base/task_queue_manager.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/scheduler/base/task_queue_manager.cc
diff --git a/components/scheduler/base/task_queue_manager.cc b/components/scheduler/base/task_queue_manager.cc
index 36f08de540fe8529ab593f6248504b0d23561795..9c4ea5267e1a74051681db646d9e071b284f1940 100644
--- a/components/scheduler/base/task_queue_manager.cc
+++ b/components/scheduler/base/task_queue_manager.cc
@@ -390,7 +390,7 @@ TaskQueueManager::AsValueWithSelectorResult(
}
state->BeginArray("time_domains");
- for (auto& time_domain : time_domains_)
+ for (auto* time_domain : time_domains_)
time_domain->AsValueInto(state.get());
state->EndArray();
return std::move(state);

Powered by Google App Engine
This is Rietveld 408576698