Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2409)

Unified Diff: ash/common/wm/overview/window_grid.cc

Issue 2249853009: Don't reposition if shutdown is in progress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.h » ('j') | ash/common/wm/overview/window_selector.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.h » ('j') | ash/common/wm/overview/window_selector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698