Index: chrome/browser/chromeos/login/keyboard_switch_menu.cc |
=================================================================== |
--- chrome/browser/chromeos/login/keyboard_switch_menu.cc (revision 70069) |
+++ chrome/browser/chromeos/login/keyboard_switch_menu.cc (working copy) |
@@ -49,11 +49,11 @@ |
input_method_menu().RunMenuAt(new_pt, views::Menu2::ALIGN_TOPLEFT); |
} |
-std::wstring KeyboardSwitchMenu::GetCurrentKeyboardName() const { |
+string16 KeyboardSwitchMenu::GetCurrentKeyboardName() const { |
const int count = GetItemCount(); |
for (int i = 0; i < count; ++i) { |
if (IsItemCheckedAt(i)) |
- return UTF16ToWide(GetLabelAt(i)); |
+ return GetLabelAt(i); |
} |
VLOG(1) << "The input method menu is not ready yet. Show a language name " |
"that matches the hardware keyboard layout"; |