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

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: addressed 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') | no next file with comments »
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..1220a07e124833dcb3041c32b080544da377c272 100644
--- a/ash/common/wm/overview/window_grid.cc
+++ b/ash/common/wm/overview/window_grid.cc
@@ -608,6 +608,9 @@ void WindowGrid::PositionWindowsMD(bool animate) {
}
void WindowGrid::PositionWindows(bool animate) {
+ if (window_selector_->is_shut_down())
+ return;
+
if (ash::MaterialDesignController::IsOverviewMaterial()) {
DCHECK(shield_widget_.get());
// Keep the background shield widget covering the whole screen.
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698