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

Unified Diff: components/user_prefs/tracked/segregated_pref_store.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/url_matcher/url_matcher.cc ('k') | components/variations/study_filtering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_prefs/tracked/segregated_pref_store.cc
diff --git a/components/user_prefs/tracked/segregated_pref_store.cc b/components/user_prefs/tracked/segregated_pref_store.cc
index c5a6e25c2f3715bc410a049652401cb633ec7a7d..af8dfe34be7b3ab1e17294cf041b572382ba39ef 100644
--- a/components/user_prefs/tracked/segregated_pref_store.cc
+++ b/components/user_prefs/tracked/segregated_pref_store.cc
@@ -166,14 +166,16 @@ SegregatedPrefStore::~SegregatedPrefStore() {
}
PersistentPrefStore* SegregatedPrefStore::StoreForKey(const std::string& key) {
- return (ContainsKey(selected_preference_names_, key)
+ return (base::ContainsKey(selected_preference_names_, key)
? selected_pref_store_
- : default_pref_store_).get();
+ : default_pref_store_)
+ .get();
}
const PersistentPrefStore* SegregatedPrefStore::StoreForKey(
const std::string& key) const {
- return (ContainsKey(selected_preference_names_, key)
+ return (base::ContainsKey(selected_preference_names_, key)
? selected_pref_store_
- : default_pref_store_).get();
+ : default_pref_store_)
+ .get();
}
« no previous file with comments | « components/url_matcher/url_matcher.cc ('k') | components/variations/study_filtering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698