| 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 77cf6de440e45315fec9d0c2c7f1c315f5ad2973..a475686d21a8c7e449c1861abd3c5b7dbb7ad7c1 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/application_impl.h"
|
| +#include "mojo/shell/public/cpp/shell.h"
|
|
|
| namespace mus {
|
|
|
| @@ -22,12 +22,12 @@ void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory,
|
| factory->CreateWindowTreeHost(GetProxy(host), std::move(tree_client));
|
| }
|
|
|
| -void CreateWindowTreeHost(mojo::ApplicationImpl* app,
|
| +void CreateWindowTreeHost(mojo::Shell* shell,
|
| WindowTreeDelegate* delegate,
|
| mojom::WindowTreeHostPtr* host,
|
| WindowManagerDelegate* window_manager_delegate) {
|
| mojom::WindowTreeHostFactoryPtr factory;
|
| - app->ConnectToService("mojo:mus", &factory);
|
| + shell->ConnectToService("mojo:mus", &factory);
|
| CreateWindowTreeHost(factory.get(), delegate, host, window_manager_delegate);
|
| }
|
|
|
|
|