| Index: chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc b/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| index c8e0a343e69f7fbdafd6b8cc099e2d79cf992587..c462fca9274c6c04e613512b03d56f0285d43be9 100644
|
| --- a/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| +++ b/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| @@ -30,7 +30,7 @@ const char kBackgroundReady[] = "ready";
|
| // Class that listens for the JS message.
|
| class TestListener : public content::NotificationObserver {
|
| public:
|
| - explicit TestListener() {
|
| + TestListener() {
|
| registrar_.Add(this,
|
| extensions::NOTIFICATION_EXTENSION_TEST_MESSAGE,
|
| content::NotificationService::AllSources());
|
| @@ -54,7 +54,8 @@ class TestListener : public content::NotificationObserver {
|
| keyboard_layouts.push_back(
|
| chromeos::extension_ime_util::GetInputMethodIDByEngineID(
|
| kInitialInputMethodOnLoginScreen));
|
| - manager->EnableLoginLayouts(kLoginScreenUILanguage, keyboard_layouts);
|
| + manager->GetActiveIMEState()->EnableLoginLayouts(kLoginScreenUILanguage,
|
| + keyboard_layouts);
|
| }
|
| }
|
|
|
|
|