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

Unified Diff: base/i18n/rtl.cc

Issue 1279123004: Replace ToLower calls to the new format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « base/command_line.cc ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « base/command_line.cc ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698