| Index: ash/common/wm/default_state.cc
|
| diff --git a/ash/common/wm/default_state.cc b/ash/common/wm/default_state.cc
|
| index 8149d7f856fc21a1871835fbd425b90fb7595c3e..dbaf92d1ad6448d70e84472d9c4b4fb99c4bac34 100644
|
| --- a/ash/common/wm/default_state.cc
|
| +++ b/ash/common/wm/default_state.cc
|
| @@ -701,8 +701,9 @@ void DefaultState::UpdateBoundsFromState(WindowState* window_state,
|
| WmWindow* docked_container =
|
| window->GetRootWindow()->GetChildByShellWindowId(
|
| kShellWindowId_DockedContainer);
|
| - ReparentChildWithTransientChildren(window, window->GetParent(),
|
| - docked_container);
|
| + ReparentChildWithTransientChildren(window->aura_window(),
|
| + window->aura_window()->parent(),
|
| + docked_container->aura_window());
|
| }
|
| // Return early because we don't want to update the bounds of the
|
| // window below; as the bounds are managed by the dock layout.
|
|
|