Index: trunk/src/base/i18n/rtl.cc |
=================================================================== |
--- trunk/src/base/i18n/rtl.cc (revision 289319) |
+++ trunk/src/base/i18n/rtl.cc (working copy) |
@@ -84,17 +84,17 @@ |
if (locale_string.substr(0, 2) != "es") |
return locale_string; |
// Expand es to es-ES. |
- if (base::LowerCaseEqualsASCII(locale_string, "es")) |
+ if (LowerCaseEqualsASCII(locale_string, "es")) |
return "es-ES"; |
// Map es-419 (Latin American Spanish) to es-FOO depending on the system |
// locale. If it's es-RR other than es-ES, map to es-RR. Otherwise, map |
// to es-MX (the most populous in Spanish-speaking Latin America). |
- if (base::LowerCaseEqualsASCII(locale_string, "es-419")) { |
+ if (LowerCaseEqualsASCII(locale_string, "es-419")) { |
const icu::Locale& locale = icu::Locale::getDefault(); |
std::string language = locale.getLanguage(); |
const char* country = locale.getCountry(); |
- if (base::LowerCaseEqualsASCII(language, "es") && |
- !base::LowerCaseEqualsASCII(country, "es")) { |
+ if (LowerCaseEqualsASCII(language, "es") && |
+ !LowerCaseEqualsASCII(country, "es")) { |
language += '-'; |
language += country; |
return language; |