| Index: mash/wm/window_manager.cc
|
| diff --git a/mash/wm/window_manager.cc b/mash/wm/window_manager.cc
|
| index 24f5416e3770be33a7a8f44c8a7964c512c5ba99..1e934f77255eb7b1f05852df35a9dca4e4d7af1b 100644
|
| --- a/mash/wm/window_manager.cc
|
| +++ b/mash/wm/window_manager.cc
|
| @@ -13,7 +13,7 @@
|
| #include "components/mus/public/cpp/property_type_converters.h"
|
| #include "components/mus/public/cpp/window.h"
|
| #include "components/mus/public/cpp/window_property.h"
|
| -#include "components/mus/public/cpp/window_tree_connection.h"
|
| +#include "components/mus/public/cpp/window_tree_client.h"
|
| #include "components/mus/public/interfaces/input_events.mojom.h"
|
| #include "components/mus/public/interfaces/mus_constants.mojom.h"
|
| #include "components/mus/public/interfaces/window_manager.mojom.h"
|
| @@ -89,7 +89,7 @@ mus::Window* WindowManager::NewTopLevelWindow(
|
| (*properties)[mus::mojom::kWaitForUnderlay_Property].clear();
|
|
|
| // TODO(sky): constrain and validate properties before passing to server.
|
| - mus::Window* window = root->connection()->NewWindow(properties);
|
| + mus::Window* window = root->window_tree()->NewWindow(properties);
|
| window->SetBounds(CalculateDefaultBounds(window));
|
|
|
| mus::Window* container_window = nullptr;
|
|
|