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

Unified Diff: components/policy/core/common/schema.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/policy/core/common/registry_dict_win.cc ('k') | components/prefs/pref_notifier_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/schema.cc
diff --git a/components/policy/core/common/schema.cc b/components/policy/core/common/schema.cc
index 9af816ebafaa9d3b80c7aa9ee873f75d5cf1f782..f925e02da4b24bb0590715d1361c9779271ac851 100644
--- a/components/policy/core/common/schema.cc
+++ b/components/policy/core/common/schema.cc
@@ -488,7 +488,7 @@ bool Schema::InternalStorage::Parse(const base::DictionaryValue& schema,
}
std::string id_string;
if (schema.GetString(schema::kId, &id_string)) {
- if (ContainsKey(*id_map, id_string)) {
+ if (base::ContainsKey(*id_map, id_string)) {
*error = "Duplicated id: " + id_string;
return false;
}
« no previous file with comments | « components/policy/core/common/registry_dict_win.cc ('k') | components/prefs/pref_notifier_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698