| Index: ash/wm/workspace/workspace_manager.cc
|
| diff --git a/ash/wm/workspace/workspace_manager.cc b/ash/wm/workspace/workspace_manager.cc
|
| index af598e8956af08951a6fcde93b6937a956cb944a..3f1c6280a7bc554ba9bd34c270196de258c45da3 100644
|
| --- a/ash/wm/workspace/workspace_manager.cc
|
| +++ b/ash/wm/workspace/workspace_manager.cc
|
| @@ -62,7 +62,7 @@ const int kInitialPauseTimeMS = 750;
|
| void ReparentWindow(Window* window,
|
| Window* new_parent,
|
| Window* stack_beneath) {
|
| - window->SetParent(new_parent);
|
| + new_parent->AddChild(window);
|
| if (stack_beneath)
|
| new_parent->StackChildBelow(window, stack_beneath);
|
| for (size_t i = 0; i < window->transient_children().size(); ++i)
|
|
|