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

Unified Diff: extensions/common/message_bundle.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
« no previous file with comments | « extensions/common/manifest_handler.cc ('k') | extensions/common/permissions/api_permission_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/message_bundle.cc
diff --git a/extensions/common/message_bundle.cc b/extensions/common/message_bundle.cc
index 104bbae1be9d4f89ee4e7235f1886a519b62af7b..28d7098d641461c78b1810abf64d554dffc422a7 100644
--- a/extensions/common/message_bundle.cc
+++ b/extensions/common/message_bundle.cc
@@ -116,7 +116,7 @@ bool MessageBundle::AppendReservedMessagesForLocale(
// Add all reserved messages to the dictionary, but check for collisions.
SubstitutionMap::iterator it = append_messages.begin();
for (; it != append_messages.end(); ++it) {
- if (ContainsKey(dictionary_, it->first)) {
+ if (base::ContainsKey(dictionary_, it->first)) {
*error = ErrorUtils::FormatErrorMessage(
errors::kReservedMessageFound, it->first);
return false;
« no previous file with comments | « extensions/common/manifest_handler.cc ('k') | extensions/common/permissions/api_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698