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

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

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update 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
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 e964cfad5e8a1cc2e4d6d60e16a0a3f0d962a9d6..43db94f162d2bad49cba9e0b616099547e986eb7 100644
--- a/content/browser/tracing/background_tracing_config_impl.cc
+++ b/content/browser/tracing/background_tracing_config_impl.cc
@@ -145,7 +145,7 @@ void BackgroundTracingConfigImpl::IntoDict(base::DictionaryValue* dict) const {
}
std::unique_ptr<base::ListValue> configs_list(new base::ListValue());
- for (const auto& it : rules_) {
+ for (auto* it : rules_) {
std::unique_ptr<base::DictionaryValue> config_dict(
new base::DictionaryValue());
DCHECK(it);
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/tracing/background_tracing_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698