Index: ui/app_list/views/start_page_view.cc |
diff --git a/ui/app_list/views/start_page_view.cc b/ui/app_list/views/start_page_view.cc |
index 7cff74e209e108213813c00cc7b836fd3cc266d4..a460ad16ff6986aa2e88242e53db8bfdb90977e7 100644 |
--- a/ui/app_list/views/start_page_view.cc |
+++ b/ui/app_list/views/start_page_view.cc |
@@ -121,6 +121,8 @@ StartPageView::StartPageView(AppListMainView* app_list_main_view, |
StartPageView::~StartPageView() { |
view_delegate_->RemoveObserver(this); |
+ if (model_) |
+ model_->RemoveObserver(this); |
} |
void StartPageView::SetModel(AppListModel* model) { |