| Index: ash/wm/dock/docked_window_layout_manager.cc
|
| diff --git a/ash/wm/dock/docked_window_layout_manager.cc b/ash/wm/dock/docked_window_layout_manager.cc
|
| index 3307d6c95209fc98fc416f0b561322bba4884a97..03a85cedeb396e6f76aed93db7755a351ec6a5a3 100644
|
| --- a/ash/wm/dock/docked_window_layout_manager.cc
|
| +++ b/ash/wm/dock/docked_window_layout_manager.cc
|
| @@ -576,7 +576,7 @@ void DockedWindowLayoutManager::OnWindowShowTypeChanged(
|
| // Reparenting changes the source bounds for the animation if a window is
|
| // visible so hide it here and show later when it is already in the desktop.
|
| UndockWindow(window);
|
| - } else {
|
| + } else if (old_type == wm::SHOW_TYPE_MINIMIZED) {
|
| RestoreDockedWindow(window_state);
|
| }
|
| }
|
|
|