Index: extensions/common/message_bundle.cc |
diff --git a/extensions/common/message_bundle.cc b/extensions/common/message_bundle.cc |
index 00239cc11bd50beb9c51f6f0dee26d993c2ae1af..1340e549935fade3a68f2e70dcdeac801982974e 100644 |
--- a/extensions/common/message_bundle.cc |
+++ b/extensions/common/message_bundle.cc |
@@ -76,7 +76,7 @@ bool MessageBundle::Init(const CatalogVector& locale_catalogs, |
base::DictionaryValue* catalog = (*it).get(); |
for (base::DictionaryValue::Iterator message_it(*catalog); |
!message_it.IsAtEnd(); message_it.Advance()) { |
- std::string key(StringToLowerASCII(message_it.key())); |
+ std::string key(base::StringToLowerASCII(message_it.key())); |
if (!IsValidName(message_it.key())) |
return BadKeyMessage(key, error); |
std::string value; |
@@ -191,7 +191,7 @@ bool MessageBundle::GetPlaceholders(const base::DictionaryValue& name_tree, |
kContentKey, name_key.c_str()); |
return false; |
} |
- (*placeholders)[StringToLowerASCII(content_key)] = content; |
+ (*placeholders)[base::StringToLowerASCII(content_key)] = content; |
} |
return true; |
@@ -250,7 +250,7 @@ bool MessageBundle::ReplaceVariables(const SubstitutionMap& variables, |
if (!IsValidName(var_name)) |
continue; |
SubstitutionMap::const_iterator it = |
- variables.find(StringToLowerASCII(var_name)); |
+ variables.find(base::StringToLowerASCII(var_name)); |
if (it == variables.end()) { |
*error = base::StringPrintf("Variable %s%s%s used but not defined.", |
var_begin_delimiter.c_str(), |
@@ -298,7 +298,7 @@ std::string MessageBundle::GetL10nMessage(const std::string& name) const { |
std::string MessageBundle::GetL10nMessage(const std::string& name, |
const SubstitutionMap& dictionary) { |
SubstitutionMap::const_iterator it = |
- dictionary.find(StringToLowerASCII(name)); |
+ dictionary.find(base::StringToLowerASCII(name)); |
if (it != dictionary.end()) { |
return it->second; |
} |