Index: mash/wm/bridge/wm_root_window_controller_mus.cc |
diff --git a/mash/wm/bridge/wm_root_window_controller_mus.cc b/mash/wm/bridge/wm_root_window_controller_mus.cc |
index 9b01ef22aaaa1321fd29a21a1eeae9d6c3078555..ca42b1903dae46960d0cb4e81d3437c4b541ca5d 100644 |
--- a/mash/wm/bridge/wm_root_window_controller_mus.cc |
+++ b/mash/wm/bridge/wm_root_window_controller_mus.cc |
@@ -7,7 +7,7 @@ |
#include "ash/wm/common/wm_root_window_controller_observer.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 "mash/wm/bridge/wm_globals_mus.h" |
#include "mash/wm/bridge/wm_shelf_mus.h" |
#include "mash/wm/bridge/wm_window_mus.h" |
@@ -111,7 +111,7 @@ void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer( |
->GetChildByShellWindowId(shell_container_id)); |
DCHECK(init_params->parent_mus); |
mus::Window* new_window = |
- root_window_controller_->root()->connection()->NewWindow(); |
+ root_window_controller_->root()->window_tree()->NewWindow(); |
WmWindowMus::Get(new_window)->set_widget(widget); |
init_params->native_widget = new views::NativeWidgetMus( |
widget, root_window_controller_->GetConnector(), new_window, |