Index: chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.cc |
index 898827ba93709bdd583677f1ea5b0841aad59918..2feef108b619a2de8f5e21cbf8b1862b0245f289 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.cc |
@@ -165,8 +165,10 @@ void TermsOfServiceScreenHandler::DoShow() { |
// If the user has a preferred input method, enable it and switch to it. |
chromeos::input_method::InputMethodManager* input_method_manager = |
chromeos::input_method::InputMethodManager::Get(); |
- input_method_manager->EnableInputMethod(input_methods.front()); |
- input_method_manager->ChangeInputMethod(input_methods.front()); |
+ input_method_manager->GetActiveIMEState()->EnableInputMethod( |
+ input_methods.front()); |
+ input_method_manager->GetActiveIMEState()->ChangeInputMethod( |
+ input_methods.front(), false /* show_message */); |
} |
// Updates the domain name shown in the UI. |