summaryrefslogtreecommitdiffstats
path: root/ash/shelf/shelf_layout_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shelf/shelf_layout_manager.cc')
-rw-r--r--ash/shelf/shelf_layout_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index f27899c..5d70e8d 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -236,6 +236,7 @@ void ShelfLayoutManager::PrepareForShutdown() {
// Stop observing window change, otherwise we can attempt to update a
// partially destructed shelf.
aura::client::GetActivationClient(root_window_)->RemoveObserver(this);
+ FOR_EACH_OBSERVER(ShelfLayoutManagerObserver, observers_, WillDeleteShelf());
}
bool ShelfLayoutManager::IsVisible() const {