| 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 8b64ffb4a20e3a06f03390a3dbbf1fdeacec5d31..19f92f1b850975e4ae6550547c264330d8204003 100644
|
| --- a/ash/wm/dock/docked_window_layout_manager.cc
|
| +++ b/ash/wm/dock/docked_window_layout_manager.cc
|
| @@ -577,7 +577,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);
|
| }
|
| }
|
|
|