Index: chrome/browser/chromeos/input_method/mode_indicator_controller.cc |
diff --git a/chrome/browser/chromeos/input_method/mode_indicator_controller.cc b/chrome/browser/chromeos/input_method/mode_indicator_controller.cc |
index 716cb08969c8782caee9b5a5cb4f98d619d685d2..30bcc4ef6344b0964ab04c074494c98ffe332f36 100644 |
--- a/chrome/browser/chromeos/input_method/mode_indicator_controller.cc |
+++ b/chrome/browser/chromeos/input_method/mode_indicator_controller.cc |
@@ -100,7 +100,8 @@ void ModeIndicatorController::ShowModeIndicator() { |
return; |
// Get the short name of the changed input method (e.g. US, JA, etc.) |
- const InputMethodDescriptor descriptor = imm_->GetCurrentInputMethod(); |
+ const InputMethodDescriptor descriptor = |
+ imm_->GetActiveIMEState()->GetCurrentInputMethod(); |
const base::string16 short_name = |
imm_->GetInputMethodUtil()->GetInputMethodShortName(descriptor); |