| Index: ui/app_list/views/app_list_main_view.cc
|
| diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
|
| index c0f7a832cb19717779ca47346a3ee56c3d3ad281..70c926c5e63c7a16f3097affa0e45d18b8d0948c 100644
|
| --- a/ui/app_list/views/app_list_main_view.cc
|
| +++ b/ui/app_list/views/app_list_main_view.cc
|
| @@ -152,6 +152,8 @@ void AppListMainView::AddContentsViews() {
|
| contents_view_->SetPaintToLayer(true);
|
| contents_view_->SetFillsBoundsOpaquely(false);
|
| contents_view_->layer()->SetMasksToBounds(true);
|
| +
|
| + delegate_->StartSearch();
|
| }
|
|
|
| AppListMainView::~AppListMainView() {
|
| @@ -317,10 +319,7 @@ void AppListMainView::QueryChanged(SearchBoxView* sender) {
|
| contents_view_->ShowSearchResults(should_show_search);
|
| UpdateSearchBoxVisibility();
|
|
|
| - if (should_show_search)
|
| - delegate_->StartSearch();
|
| - else
|
| - delegate_->StopSearch();
|
| + delegate_->StartSearch();
|
| }
|
|
|
| void AppListMainView::OnResultInstalled(SearchResult* result) {
|
|
|