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

Unified Diff: ash/common/shelf/shelf_widget.cc

Issue 2302673002: mash: Avoid shelf crashes on display removal. (Closed)
Patch Set: Sync and rebase; remove Screen/Display changes; cleanup. Created 4 years, 3 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 | « ash/common/shelf/shelf_layout_manager.cc ('k') | ash/mus/bridge/wm_shelf_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_widget.cc
diff --git a/ash/common/shelf/shelf_widget.cc b/ash/common/shelf/shelf_widget.cc
index 01d4109f45bb570eaff9a4f9d83a8a2400229ad1..a1890f30e5cb802007dd94fafc34503b9cd41b20 100644
--- a/ash/common/shelf/shelf_widget.cc
+++ b/ash/common/shelf/shelf_widget.cc
@@ -497,6 +497,8 @@ void ShelfWidget::Shutdown() {
status_area_widget_->Shutdown();
status_area_widget_ = nullptr;
}
+
+ CloseNow();
}
void ShelfWidget::ForceUndimming(bool force) {
« no previous file with comments | « ash/common/shelf/shelf_layout_manager.cc ('k') | ash/mus/bridge/wm_shelf_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698