Index: ash/wm/workspace/workspace_layout_manager.cc |
diff --git a/ash/wm/workspace/workspace_layout_manager.cc b/ash/wm/workspace/workspace_layout_manager.cc |
index 63c4aed0e71112d817c63f2d2bd71d113efe85f6..c83e23ad75bf73d88c46dab0d7b259aaaf0f95db 100644 |
--- a/ash/wm/workspace/workspace_layout_manager.cc |
+++ b/ash/wm/workspace/workspace_layout_manager.cc |
@@ -134,8 +134,7 @@ void WorkspaceLayoutManager::SetChildBounds( |
void WorkspaceLayoutManager::OnKeyboardBoundsChanging( |
const gfx::Rect& new_bounds) { |
- ui::InputMethod* input_method = |
- root_window_->GetProperty(aura::client::kRootWindowInputMethodKey); |
+ ui::InputMethod* input_method = root_window_->GetHost()->GetInputMethod(); |
ui::TextInputClient* text_input_client = input_method->GetTextInputClient(); |
if (!text_input_client) |
return; |