| Index: ui/app_list/views/search_result_page_view.cc
|
| diff --git a/ui/app_list/views/search_result_page_view.cc b/ui/app_list/views/search_result_page_view.cc
|
| index c3ff198dfaf820b9997b83d032bc704cd4e8080f..3a1e935dd0c0415c8a597d8f22f361f848e0ce80 100644
|
| --- a/ui/app_list/views/search_result_page_view.cc
|
| +++ b/ui/app_list/views/search_result_page_view.cc
|
| @@ -192,7 +192,9 @@ void SearchResultPageView::OnAnimationUpdated(double progress,
|
| }
|
|
|
| int SearchResultPageView::GetSearchBoxZHeight() const {
|
| - return kSearchResultZHeight;
|
| + return switches::IsExperimentalAppListEnabled()
|
| + ? kSearchResultZHeight
|
| + : AppListPage::GetSearchBoxZHeight();
|
| }
|
|
|
| } // namespace app_list
|
|
|