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 aed941a3562e6512fbf7e466cece7909adf963ef..1a706fb72ae04f3b4fd0a83a4fee14fcd59d21ff 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 |
@@ -16,8 +16,8 @@ AppListPresenterService::AppListPresenterService() : binding_(this) { |
if (connection && connection->GetConnector()) { |
// Connect to the app list interface in the ash service. |
app_list::mojom::AppListPtr app_list_ptr; |
- connection->GetConnector()->ConnectToInterface( |
- ash_util::GetAshServiceName(), &app_list_ptr); |
+ connection->GetConnector()->BindInterface(ash_util::GetAshServiceName(), |
+ &app_list_ptr); |
// Register this object as the app list presenter. |
app_list_ptr->SetAppListPresenter(binding_.CreateInterfacePtrAndBind()); |
// Pass the interface pointer to the presenter to report visibility changes. |