Index: ash/common/wm/overview/window_selector.cc |
diff --git a/ash/common/wm/overview/window_selector.cc b/ash/common/wm/overview/window_selector.cc |
index db099179f44f11be6de5ad79f671de3fec268350..aef73a9966aff956d41b20cd89b324de2cb86e6d 100644 |
--- a/ash/common/wm/overview/window_selector.cc |
+++ b/ash/common/wm/overview/window_selector.cc |
@@ -381,6 +381,7 @@ void WindowSelector::Init(const WindowList& windows) { |
// may cause other, unrelated classes, (ie PanelLayoutManager) to make indirect |
// calls to restoring_minimized_windows() on a partially destructed object. |
void WindowSelector::Shutdown() { |
+ shutdown_ = true; |
// Stop observing screen metrics changes first to avoid auto-positioning |
// windows in response to work area changes from window activation. |
display::Screen::GetScreen()->RemoveObserver(this); |