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

Unified Diff: ash/mus/bridge/wm_shelf_mus.cc

Issue 2302673002: mash: Avoid shelf crashes on display removal. (Closed)
Patch Set: minor 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
Index: ash/mus/bridge/wm_shelf_mus.cc
diff --git a/ash/mus/bridge/wm_shelf_mus.cc b/ash/mus/bridge/wm_shelf_mus.cc
index 657ab36b7e1e2e422ac7b7decbc6e34051cc3c91..c8ee95c08ae060a4f10dd66140438d251d8a41e0 100644
--- a/ash/mus/bridge/wm_shelf_mus.cc
+++ b/ash/mus/bridge/wm_shelf_mus.cc
@@ -22,6 +22,7 @@ WmShelfMus::WmShelfMus(WmWindow* root_window) {
}
WmShelfMus::~WmShelfMus() {
+ ShutdownShelfWidget();
DestroyShelfWidget();
ShutdownShelf();
}

Powered by Google App Engine
This is Rietveld 408576698