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

Unified Diff: ash/shell.cc

Issue 844763006: Change overview mode to so that docked panel windows are not grouped together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved restore window animation out of the ScopedTransformOverviewWindow destructor. Created 5 years, 11 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 9062d81afef808035530897d9c50fbcfab07187f..a40d3b55bb5f4dc48d71a5a6c2281fd51399119c 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -745,6 +745,12 @@ Shell::~Shell() {
resize_shadow_controller_.reset();
window_cycle_controller_.reset();
+
+ // Need to ensure that the WindowSelector is properly destroyed and cleaned up
+ // prior to deleting the |window_selector_controller_|. See
+ // WindowSelectorController documentation for more info.
+ if (window_selector_controller_->IsSelecting())
+ window_selector_controller_->ToggleOverview();
jonross 2015/01/15 19:39:42 I'd like to avoid this if possible. Can we check w
bruthig 2015/01/16 19:54:43 Done.
window_selector_controller_.reset();
mru_window_tracker_.reset();

Powered by Google App Engine
This is Rietveld 408576698