| Index: ash/mus/window_manager.cc
|
| diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
|
| index 3838556d7dccbbccccae2323da01c60b0dfc6ac2..9a9a3f556f6b705d35f5f5482cbd2289b76b776b 100644
|
| --- a/ash/mus/window_manager.cc
|
| +++ b/ash/mus/window_manager.cc
|
| @@ -31,6 +31,7 @@
|
| #include "services/ui/public/cpp/window.h"
|
| #include "services/ui/public/cpp/window_property.h"
|
| #include "services/ui/public/cpp/window_tree_client.h"
|
| +#include "services/ui/public/interfaces/constants.mojom.h"
|
| #include "services/ui/public/interfaces/mus_constants.mojom.h"
|
| #include "services/ui/public/interfaces/window_manager.mojom.h"
|
| #include "ui/base/hit_test.h"
|
| @@ -56,8 +57,10 @@ void WindowManager::Init(
|
| window_tree_client_ = std::move(window_tree_client);
|
|
|
| // |connector_| will be null in some tests.
|
| - if (connector_)
|
| - connector_->ConnectToInterface("ui", &display_controller_);
|
| + if (connector_) {
|
| + connector_->ConnectToInterface(ui::mojom::kServiceName,
|
| + &display_controller_);
|
| + }
|
|
|
| screen_ = base::MakeUnique<display::ScreenBase>();
|
| display::Screen::SetScreenInstance(screen_.get());
|
|
|