Chromium Code Reviews| Index: ui/app_list/views/apps_grid_view.cc |
| diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc |
| index 4016d5fdf965b1ad2dd85260b8ab7c9cf8fdd005..0cbdffca5fe2b015111f25d55a016e98b95ea4cf 100644 |
| --- a/ui/app_list/views/apps_grid_view.cc |
| +++ b/ui/app_list/views/apps_grid_view.cc |
| @@ -328,7 +328,7 @@ AppsGridView::AppsGridView(AppsGridViewDelegate* delegate, |
| pagination_model_->AddObserver(this); |
| AddChildView(page_switcher_view_); |
| - if (start_page_contents) { |
| + if (start_page_contents && app_list::switches::IsStartPageWebUIEnabled()) { |
|
tapted
2014/03/10 02:41:54
With StartPageService::GetSearchPageContents(..) t
calamity
2014/03/14 07:50:02
Holding off on this in case we can just remove the
|
| start_page_view_ = |
| new views::WebView(start_page_contents->GetBrowserContext()); |
| start_page_view_->SetWebContents(start_page_contents); |