| Index: chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
|
| diff --git a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
|
| index 43f6657065609622faf335fb51ef378800a7d5f7..1454f75467b48214126710bf5933aa4d2d35f2f4 100644
|
| --- a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
|
| +++ b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
|
| @@ -16,6 +16,7 @@
|
| #include "services/service_manager/runner/common/client_util.h"
|
| #include "services/ui/public/cpp/gpu_service.h"
|
| #include "services/ui/public/cpp/input_devices/input_device_client.h"
|
| +#include "services/ui/public/interfaces/constants.mojom.h"
|
| #include "services/ui/public/interfaces/input_devices/input_device_server.mojom.h"
|
| #include "ui/display/screen.h"
|
| #include "ui/views/mus/window_manager_connection.h"
|
| @@ -101,7 +102,8 @@ void ChromeBrowserMainExtraPartsViews::ServiceManagerConnectionStarted(
|
|
|
| input_device_client_.reset(new ui::InputDeviceClient());
|
| ui::mojom::InputDeviceServerPtr server;
|
| - connection->GetConnector()->ConnectToInterface("ui", &server);
|
| + connection->GetConnector()->ConnectToInterface(ui::mojom::kServiceName,
|
| + &server);
|
| input_device_client_->Connect(std::move(server));
|
|
|
| window_manager_connection_ = views::WindowManagerConnection::Create(
|
|
|