Index: chrome/browser/ui/app_list/start_page_service.cc |
diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc |
index 0f6c70a843d9ef03845b65cb327ff826ff5f70b2..fcb61153daa8d770aca38132e01f9f947359fba5 100644 |
--- a/chrome/browser/ui/app_list/start_page_service.cc |
+++ b/chrome/browser/ui/app_list/start_page_service.cc |
@@ -144,8 +144,9 @@ void StartPageService::ToggleSpeechRecognition() { |
} |
content::WebContents* StartPageService::GetStartPageContents() { |
- return CommandLine::ForCurrentProcess()->HasSwitch( |
- ::switches::kShowAppListStartPage) ? contents_.get() : NULL; |
+ return (app_list::switches::IsExperimentalAppListEnabled() || |
+ app_list::switches::IsExperimentalAppListEnabled()) ? contents_.get() |
tapted
2014/03/10 02:41:54
Do you still need to handle the "old" start page f
calamity
2014/03/14 07:50:02
xiyuan@ said that he's fine with changing the star
xiyuan
2014/03/14 17:00:54
The last I talked to Alex, my impression is that w
|
+ : NULL; |
} |
content::WebContents* StartPageService::GetSpeechRecognitionContents() { |