Index: components/mus/public/cpp/lib/window_tree_host_factory.cc |
diff --git a/components/mus/public/cpp/lib/window_tree_host_factory.cc b/components/mus/public/cpp/lib/window_tree_host_factory.cc |
index 88c45d7dbd49fb38425874e3482745ed330d2d26..54e4d3c40d2aed029375c54d4a93d44acc3aa405 100644 |
--- a/components/mus/public/cpp/lib/window_tree_host_factory.cc |
+++ b/components/mus/public/cpp/lib/window_tree_host_factory.cc |
@@ -6,7 +6,7 @@ |
#include "components/mus/public/cpp/window_tree_connection.h" |
#include "components/mus/public/cpp/window_tree_delegate.h" |
-#include "mojo/shell/public/cpp/shell.h" |
+#include "mojo/shell/public/cpp/connector.h" |
namespace mus { |
@@ -22,12 +22,12 @@ void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory, |
factory->CreateWindowTreeHost(GetProxy(host), std::move(tree_client)); |
} |
-void CreateWindowTreeHost(mojo::Shell* shell, |
+void CreateWindowTreeHost(mojo::Connector* connector, |
WindowTreeDelegate* delegate, |
mojom::WindowTreeHostPtr* host, |
WindowManagerDelegate* window_manager_delegate) { |
mojom::WindowTreeHostFactoryPtr factory; |
- shell->ConnectToInterface("mojo:mus", &factory); |
+ connector->ConnectToInterface("mojo:mus", &factory); |
CreateWindowTreeHost(factory.get(), delegate, host, window_manager_delegate); |
} |