| Index: chrome/browser/ui/app_list/start_page_service_factory.cc
|
| diff --git a/chrome/browser/ui/app_list/start_page_service_factory.cc b/chrome/browser/ui/app_list/start_page_service_factory.cc
|
| index 636814a6665686f37cc2ff081812a527e221476f..ec2e5ad29c4a13606720980d3184b010a31ae594 100644
|
| --- a/chrome/browser/ui/app_list/start_page_service_factory.cc
|
| +++ b/chrome/browser/ui/app_list/start_page_service_factory.cc
|
| @@ -20,8 +20,8 @@ namespace app_list {
|
|
|
| // static
|
| StartPageService* StartPageServiceFactory::GetForProfile(Profile* profile) {
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| - ::switches::kShowAppListStartPage) &&
|
| + if (!app_list::switches::IsExperimentalAppListEnabled() &&
|
| + !app_list::switches::IsStartPageWebUIEnabled() &&
|
| !app_list::switches::IsVoiceSearchEnabled()) {
|
| return NULL;
|
| }
|
|
|