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 62d2a687e61f248ac6c245ef101e72003791c9c4..155f8d21b515d98e9b679e6b013a84fa1dc0eff4 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" |
@@ -795,8 +797,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); |