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

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

Issue 1171973003: Move StringToUpperASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 5bdf592c5f4b32a019e702a712e245af2338e302..19d6ccadbc06918b4631950cb5353726a52d5b2a 100644
--- a/ui/base/ime/chromeos/input_method_descriptor.cc
+++ b/ui/base/ime/chromeos/input_method_descriptor.cc
@@ -44,10 +44,12 @@ std::string InputMethodDescriptor::GetIndicator() const {
// If indicator is empty, use the first two character in its preferred
// keyboard layout or language code.
if (indicator_.empty()) {
- if (extension_ime_util::IsKeyboardLayoutExtension(id_))
- return StringToUpperASCII(GetPreferredKeyboardLayout().substr(0, 2));
+ if (extension_ime_util::IsKeyboardLayoutExtension(id_)) {
+ return base::StringToUpperASCII(
+ GetPreferredKeyboardLayout().substr(0, 2));
+ }
DCHECK(language_codes_.size() > 0);
- return StringToUpperASCII(language_codes_[0].substr(0, 2));
+ return base::StringToUpperASCII(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