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_; |
} |