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 6db10ecb1190edd46b79ae0f1d9471301fdf98cf..89c26aff3edce05c2ff94f29a267680f940c7534 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; |