Index: ui/aura_shell/shelf_layout_controller.cc |
diff --git a/ui/aura_shell/shelf_layout_controller.cc b/ui/aura_shell/shelf_layout_controller.cc |
index 7e7f851a68ed3a7e064679ea0e3ff1e70dc1e976..d26af3c875590636eb09f8cd3b1f3280ee90552c 100644 |
--- a/ui/aura_shell/shelf_layout_controller.cc |
+++ b/ui/aura_shell/shelf_layout_controller.cc |
@@ -35,7 +35,8 @@ ShelfLayoutController::ShelfLayoutController(views::Widget* launcher, |
} |
ShelfLayoutController::~ShelfLayoutController() { |
- GetLayer(launcher_)->GetAnimator()->RemoveObserver(this); |
+ // Do not try to remove observer from layer as the Launcher is |
+ // already deleted. |
} |
void ShelfLayoutController::LayoutShelf() { |