Index: ash/wm/workspace/workspace_layout_manager_unittest.cc |
diff --git a/ash/wm/workspace/workspace_layout_manager_unittest.cc b/ash/wm/workspace/workspace_layout_manager_unittest.cc |
index 7e2fe9b5fe2f1f7f2bb6789cf39e3d5452582363..84a22519cd4273eb8099660be50b49ca446a7f11 100644 |
--- a/ash/wm/workspace/workspace_layout_manager_unittest.cc |
+++ b/ash/wm/workspace/workspace_layout_manager_unittest.cc |
@@ -1020,8 +1020,7 @@ class WorkspaceLayoutManagerKeyboardTest : public test::AshTestBase { |
} else { |
aura::Window* root_window = |
ash::Shell::GetInstance()->GetPrimaryRootWindow(); |
- ui::InputMethod* input_method = |
- root_window->GetProperty(aura::client::kRootWindowInputMethodKey); |
+ ui::InputMethod* input_method = root_window->GetHost()->GetInputMethod(); |
input_method->SetFocusedTextInputClient(text_input_client); |
} |
} |
@@ -1033,8 +1032,7 @@ class WorkspaceLayoutManagerKeyboardTest : public test::AshTestBase { |
} else { |
aura::Window* root_window = |
ash::Shell::GetInstance()->GetPrimaryRootWindow(); |
- ui::InputMethod* input_method = |
- root_window->GetProperty(aura::client::kRootWindowInputMethodKey); |
+ ui::InputMethod* input_method = root_window->GetHost()->GetInputMethod(); |
input_method->SetFocusedTextInputClient(NULL); |
} |
} |