| Index: services/ui/public/cpp/window_tree_client.cc
|
| diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc
|
| index 9742feb2238f8f7a042deeafab08f307641a6cb9..e0ad8d2c0c20d4b8e49603d7c8fc87da81949e5f 100644
|
| --- a/services/ui/public/cpp/window_tree_client.cc
|
| +++ b/services/ui/public/cpp/window_tree_client.cc
|
| @@ -24,6 +24,7 @@
|
| #include "services/ui/public/cpp/window_tracker.h"
|
| #include "services/ui/public/cpp/window_tree_client_delegate.h"
|
| #include "services/ui/public/cpp/window_tree_client_observer.h"
|
| +#include "services/ui/public/interfaces/constants.mojom.h"
|
| #include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom.h"
|
| #include "ui/events/event.h"
|
| #include "ui/gfx/geometry/insets.h"
|
| @@ -124,7 +125,7 @@ void WindowTreeClient::ConnectViaWindowTreeFactory(
|
| client_id_ = 101;
|
|
|
| mojom::WindowTreeFactoryPtr factory;
|
| - connector->ConnectToInterface("ui", &factory);
|
| + connector->ConnectToInterface(ui::mojom::kServiceName, &factory);
|
| mojom::WindowTreePtr window_tree;
|
| factory->CreateWindowTree(GetProxy(&window_tree),
|
| binding_.CreateInterfacePtrAndBind());
|
| @@ -136,7 +137,7 @@ void WindowTreeClient::ConnectAsWindowManager(
|
| DCHECK(window_manager_delegate_);
|
|
|
| mojom::WindowManagerWindowTreeFactoryPtr factory;
|
| - connector->ConnectToInterface("ui", &factory);
|
| + connector->ConnectToInterface(ui::mojom::kServiceName, &factory);
|
| mojom::WindowTreePtr window_tree;
|
| factory->CreateWindowTree(GetProxy(&window_tree),
|
| binding_.CreateInterfacePtrAndBind());
|
|
|