| 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 0f444591a17f467da95fc4ad222710d1c007887b..23d2f643aee1956381bd4c8c36e4b68ae000a517 100644
|
| --- a/ui/app_list/views/start_page_view.cc
|
| +++ b/ui/app_list/views/start_page_view.cc
|
| @@ -89,11 +89,9 @@ StartPageView::StartPageView(AppListMainView* app_list_main_view,
|
| AddChildView(tiles_container_);
|
|
|
| SetModel(view_delegate_->GetModel());
|
| - view_delegate_->AddObserver(this);
|
| }
|
|
|
| StartPageView::~StartPageView() {
|
| - view_delegate_->RemoveObserver(this);
|
| if (search_results_model_)
|
| search_results_model_->RemoveObserver(this);
|
| }
|
| @@ -244,10 +242,6 @@ void StartPageView::QueryChanged(SearchBoxView* sender) {
|
| sender->search_box()->SetText(base::string16());
|
| }
|
|
|
| -void StartPageView::OnProfilesChanged() {
|
| - SetModel(view_delegate_->GetModel());
|
| -}
|
| -
|
| void StartPageView::ListItemsAdded(size_t start, size_t count) {
|
| ScheduleUpdate();
|
| }
|
|
|