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

Unified Diff: ui/base/ime/chromeos/input_method_descriptor.cc

Issue 1280473002: Update ToLower/UpperASCII API (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 | « storage/common/fileapi/file_system_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/input_method_descriptor.cc
diff --git a/ui/base/ime/chromeos/input_method_descriptor.cc b/ui/base/ime/chromeos/input_method_descriptor.cc
index 19d6ccadbc06918b4631950cb5353726a52d5b2a..eda8aa6b9a66d625b75c9e46ee70ed16685792b4 100644
--- a/ui/base/ime/chromeos/input_method_descriptor.cc
+++ b/ui/base/ime/chromeos/input_method_descriptor.cc
@@ -45,11 +45,10 @@ std::string InputMethodDescriptor::GetIndicator() const {
// keyboard layout or language code.
if (indicator_.empty()) {
if (extension_ime_util::IsKeyboardLayoutExtension(id_)) {
- return base::StringToUpperASCII(
- GetPreferredKeyboardLayout().substr(0, 2));
+ return base::ToUpperASCII(GetPreferredKeyboardLayout().substr(0, 2));
}
DCHECK(language_codes_.size() > 0);
- return base::StringToUpperASCII(language_codes_[0].substr(0, 2));
+ return base::ToUpperASCII(language_codes_[0].substr(0, 2));
}
return indicator_;
}
« no previous file with comments | « storage/common/fileapi/file_system_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698