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

Unified Diff: content/browser/tracing/background_tracing_config_impl.cc

Issue 2752533003: Remove ScopedVector from content/browser/. (Closed)
Patch Set: Created 3 years, 9 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: content/browser/tracing/background_tracing_config_impl.cc
diff --git a/content/browser/tracing/background_tracing_config_impl.cc b/content/browser/tracing/background_tracing_config_impl.cc
index 43db94f162d2bad49cba9e0b616099547e986eb7..3ce2fabf09258acd2e29de7783fadd6556c775a4 100644
--- a/content/browser/tracing/background_tracing_config_impl.cc
+++ b/content/browser/tracing/background_tracing_config_impl.cc
@@ -145,11 +145,11 @@ void BackgroundTracingConfigImpl::IntoDict(base::DictionaryValue* dict) const {
}
std::unique_ptr<base::ListValue> configs_list(new base::ListValue());
- for (auto* it : rules_) {
+ for (const auto& rule : rules_) {
std::unique_ptr<base::DictionaryValue> config_dict(
new base::DictionaryValue());
- DCHECK(it);
- it->IntoDict(config_dict.get());
+ DCHECK(rule);
+ rule->IntoDict(config_dict.get());
configs_list->Append(std::move(config_dict));
}

Powered by Google App Engine
This is Rietveld 408576698