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 25519373f0ea5baa197f0bc56c1c91451c031411..a45a5042baf70156f6b68a43788a74801ff81554 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 |
@@ -13,6 +13,7 @@ |
#include "content/public/common/service_manager_connection.h" |
#include "services/service_manager/public/cpp/connector.h" |
#include "ui/app_list/presenter/app_list_presenter_impl.h" |
+#include "ui/gfx/geometry/rect.h" |
AppListPresenterService::AppListPresenterService() : binding_(this) { |
content::ServiceManagerConnection* connection = |
@@ -44,11 +45,10 @@ void AppListPresenterService::ToggleAppList(int64_t display_id) { |
} |
void AppListPresenterService::StartVoiceInteractionSession() { |
- arc::ArcVoiceInteractionFrameworkService* service = |
- arc::ArcServiceManager::Get() |
- ->GetService<arc::ArcVoiceInteractionFrameworkService>(); |
- if (service) |
- service->StartVoiceInteractionSession(); |
+ auto* service = arc::ArcServiceManager::Get() |
+ ->GetService<arc::ArcVoiceInteractionFrameworkService>(); |
+ DCHECK(service); |
+ service->StartSessionFromUserInteraction(gfx::Rect()); |
} |
app_list::AppListPresenterImpl* AppListPresenterService::GetPresenter() { |