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

Unified Diff: extensions/common/extension_set.cc

Issue 2236443003: extensions: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't add braces 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
Index: extensions/common/extension_set.cc
diff --git a/extensions/common/extension_set.cc b/extensions/common/extension_set.cc
index c4c15d4e1f2bc3b8f291f590f7be0b109a21583e..6d5657a39fda5cc9b0cc2c3773a9d23011a9516f 100644
--- a/extensions/common/extension_set.cc
+++ b/extensions/common/extension_set.cc
@@ -44,7 +44,7 @@ bool ExtensionSet::Contains(const std::string& extension_id) const {
}
bool ExtensionSet::Insert(const scoped_refptr<const Extension>& extension) {
- bool was_present = ContainsKey(extensions_, extension->id());
+ bool was_present = base::ContainsKey(extensions_, extension->id());
extensions_[extension->id()] = extension;
if (!was_present && !modification_callback_.is_null())
modification_callback_.Run(GetIDs());
« no previous file with comments | « extensions/browser/quota_service_unittest.cc ('k') | extensions/common/features/base_feature_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698