Index: chrome/browser/ui/webui/app_list/start_page_handler.cc |
diff --git a/chrome/browser/ui/webui/app_list/start_page_handler.cc b/chrome/browser/ui/webui/app_list/start_page_handler.cc |
index 7868d7d128d7eddbc2a12662b525e8b0c8273d04..d8234cc1c25cde1e93112f0bc6ee8bf65a009f45 100644 |
--- a/chrome/browser/ui/webui/app_list/start_page_handler.cc |
+++ b/chrome/browser/ui/webui/app_list/start_page_handler.cc |
@@ -127,7 +127,7 @@ void StartPageHandler::OnHotwordEnabledChanged() { |
StartPageService* service = StartPageService::Get(profile); |
web_ui()->CallJavascriptFunction( |
"appList.startPage.setHotwordEnabled", |
- base::FundamentalValue(service->HotwordEnabled())); |
+ base::FundamentalValue(service && service->HotwordEnabled())); |
} |
} |
#endif |