| Index: components/mus/ws/window_tree_factory.cc
|
| diff --git a/components/mus/ws/window_tree_factory.cc b/components/mus/ws/window_tree_factory.cc
|
| index 8c5fecd3bcee619137bf9fc0d6548f5fc8a4e90b..05d48e748c672bd62af6197e4d4e31333b7df332 100644
|
| --- a/components/mus/ws/window_tree_factory.cc
|
| +++ b/components/mus/ws/window_tree_factory.cc
|
| @@ -27,10 +27,11 @@ void WindowTreeFactory::CreateWindowTree(
|
| scoped_ptr<ws::WindowTreeImpl> service(new ws::WindowTreeImpl(
|
| connection_manager_, nullptr, mojom::WindowTree::kAccessPolicyDefault));
|
| scoped_ptr<ws::DefaultClientConnection> client_connection(
|
| - new ws::DefaultClientConnection(std::move(service), connection_manager_,
|
| + new ws::DefaultClientConnection(service.get(), connection_manager_,
|
| std::move(tree_request),
|
| std::move(client)));
|
| - connection_manager_->AddConnection(std::move(client_connection), nullptr);
|
| + connection_manager_->AddTree(std::move(service), std::move(client_connection),
|
| + nullptr);
|
| }
|
|
|
| } // namespace ws
|
|
|