Index: base/i18n/rtl.cc |
diff --git a/base/i18n/rtl.cc b/base/i18n/rtl.cc |
index 25a9cfd2ed314d9fc143c9315dce083d2da4266a..93f91c26a24e4690ee68a4973fea31c0fa5b16ee 100644 |
--- a/base/i18n/rtl.cc |
+++ b/base/i18n/rtl.cc |
@@ -36,11 +36,8 @@ std::string GetLocaleString(const icu::Locale& locale) { |
result += country; |
} |
- if (variant != NULL && *variant != '\0') { |
- std::string variant_str(variant); |
- base::StringToLowerASCII(&variant_str); |
- result += '@' + variant_str; |
- } |
+ if (variant != NULL && *variant != '\0') |
+ result += '@' + base::ToLowerASCII(variant); |
return result; |
} |