Chromium Code Reviews| Index: ash/common/wm/overview/window_grid.cc |
| diff --git a/ash/common/wm/overview/window_grid.cc b/ash/common/wm/overview/window_grid.cc |
| index f9c327975606321eaea3f55b4ee8bcb3d4dab8de..29e2965350a64ce21bc3bec48a26aadc4610acdb 100644 |
| --- a/ash/common/wm/overview/window_grid.cc |
| +++ b/ash/common/wm/overview/window_grid.cc |
| @@ -456,7 +456,7 @@ void WindowGrid::PrepareForOverview() { |
| } |
| void WindowGrid::PositionWindowsMD(bool animate) { |
| - if (window_list_.empty()) |
| + if (window_list_.empty() || window_selector_->shutdown()) |
|
varkha
2016/08/17 21:49:31
Should this early exit be in PositionWindows() ins
oshima
2016/08/17 22:00:26
Done.
|
| return; |
| const int kUnlimited = -1; |