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

Unified Diff: components/scheduler/base/time_domain.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/time_domain.cc
diff --git a/components/scheduler/base/time_domain.cc b/components/scheduler/base/time_domain.cc
index 61851c533ea81f7c48e16f0dfd0a11c4f6e6fe29..174f2e2473b7b22120f87de896bcbf31454f9086 100644
--- a/components/scheduler/base/time_domain.cc
+++ b/components/scheduler/base/time_domain.cc
@@ -200,7 +200,7 @@ void TimeDomain::AsValueInto(base::trace_event::TracedValue* state) const {
state->BeginDictionary();
state->SetString("name", GetName());
state->BeginArray("updatable_queue_set");
- for (auto& queue : updatable_queue_set_)
+ for (auto* queue : updatable_queue_set_)
state->AppendString(queue->GetName());
state->EndArray();
state->SetInteger("registered_delay_count", delayed_wakeup_multimap_.size());

Powered by Google App Engine
This is Rietveld 408576698