| Index: chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc b/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
|
| index 0823c294ae566871861696cb923311ede0a0da55..83c681be22c538adbdb15f07d94b7ab23702e086 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "ash/ime/input_method_menu_item.h"
|
| +#include "ash/ime/input_method_menu_manager.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/extensions/extension_browsertest.h"
|
| @@ -800,8 +802,9 @@ IN_PROC_BROWSER_TEST_P(InputMethodEngineIBusBrowserTest,
|
| ASSERT_TRUE(content::ExecuteScript(
|
| host->host_contents(), set_menu_item_test_script));
|
|
|
| - const InputMethodPropertyList& props =
|
| - InputMethodManager::Get()->GetCurrentInputMethodProperties();
|
| + const ash::ime::InputMethodMenuItemList& props =
|
| + ash::ime::InputMethodMenuManager::GetInstance()->
|
| + GetCurrentInputMethodMenuItemList();
|
| ASSERT_EQ(5U, props.size());
|
|
|
| EXPECT_EQ("ID0", props[0].key);
|
|
|