Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: chrome/browser/ui/ash/app_list/app_list_presenter_service.cc

Issue 2929963002: Add value proposition entrypoint from Voice Interaction shortcut (Closed)
Patch Set: Add value proposition entrypoint from Voice Interaction shortcut Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc b/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
index c8411b1a0f4777e58f70ddff7e83f7db20202707..103244520b3ffc88db0736aaf806b83defc6d3c3 100644
--- a/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
@@ -49,8 +49,8 @@ void AppListPresenterService::ToggleAppList(int64_t display_id) {
void AppListPresenterService::StartVoiceInteractionSession() {
auto* service = arc::ArcServiceManager::Get()
->GetService<arc::ArcVoiceInteractionFrameworkService>();
- DCHECK(service);
- service->StartSessionFromUserInteraction(gfx::Rect());
+ if (service)
+ service->StartSessionFromUserInteraction(gfx::Rect());
}
app_list::AppListPresenterImpl* AppListPresenterService::GetPresenter() {
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698