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

Unified Diff: components/prefs/pref_registry.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site Created 4 years, 4 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/prefs/pref_notifier_impl.cc ('k') | components/proximity_auth/bluetooth_throttler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_registry.cc
diff --git a/components/prefs/pref_registry.cc b/components/prefs/pref_registry.cc
index 92d161e8b04fbb34ec142f36c19814a0a35f6a9a..c42e77f74aa09fa36bba0a9db0d3785b7f1acfa3 100644
--- a/components/prefs/pref_registry.cc
+++ b/components/prefs/pref_registry.cc
@@ -59,8 +59,8 @@ void PrefRegistry::RegisterPreference(const std::string& path,
"invalid preference type: " << orig_type;
DCHECK(!defaults_->GetValue(path, NULL)) <<
"Trying to register a previously registered pref: " << path;
- DCHECK(!ContainsKey(registration_flags_, path)) <<
- "Trying to register a previously registered pref: " << path;
+ DCHECK(!base::ContainsKey(registration_flags_, path))
+ << "Trying to register a previously registered pref: " << path;
defaults_->SetDefaultValue(path, base::WrapUnique(default_value));
if (flags != NO_REGISTRATION_FLAGS)
« no previous file with comments | « components/prefs/pref_notifier_impl.cc ('k') | components/proximity_auth/bluetooth_throttler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698