Index: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc |
index c4f599f8530b95b525dbcb7848ad97833a0662de..d8c5522bf05ec05082f1c17069ddd5a69603a769 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc |
@@ -90,7 +90,7 @@ void CrosLanguageOptionsHandler::GetLocalizedValues( |
input_method::InputMethodManager* manager = |
input_method::InputMethodManager::Get(); |
input_method::InputMethodDescriptors ext_ime_descriptors; |
- manager->GetInputMethodExtensions(&ext_ime_descriptors); |
+ manager->GetActiveIMEState()->GetInputMethodExtensions(&ext_ime_descriptors); |
base::ListValue* ext_ime_list = ConvertInputMethodDescriptorsToIMEList( |
ext_ime_descriptors); |
@@ -229,8 +229,9 @@ void CrosLanguageOptionsHandler::InputMethodOptionsOpenCallback( |
return; |
const input_method::InputMethodDescriptor* ime = |
- input_method::InputMethodManager::Get()->GetInputMethodFromId( |
- input_method_id); |
+ input_method::InputMethodManager::Get() |
+ ->GetActiveIMEState() |
+ ->GetInputMethodFromId(input_method_id); |
if (!ime) |
return; |