| Index: components/mus/ws/window_tree_unittest.cc
|
| diff --git a/components/mus/ws/window_tree_unittest.cc b/components/mus/ws/window_tree_unittest.cc
|
| index 7d3509fd9e345ddd692d41350ab6768e140cd447..722f1974d449457a1cb03926af4b5ef404ec52f6 100644
|
| --- a/components/mus/ws/window_tree_unittest.cc
|
| +++ b/components/mus/ws/window_tree_unittest.cc
|
| @@ -192,13 +192,12 @@ class TestConnectionManagerDelegate : public ConnectionManagerDelegate {
|
| ClientConnection* CreateClientConnectionForEmbedAtWindow(
|
| ConnectionManager* connection_manager,
|
| mojo::InterfaceRequest<mus::mojom::WindowTree> service_request,
|
| - ConnectionSpecificId creator_id,
|
| const WindowId& root_id,
|
| uint32_t policy_bitmask,
|
| mus::mojom::WindowTreeClientPtr client) override {
|
| // Used by ConnectionManager::AddRoot.
|
| - scoped_ptr<WindowTreeImpl> service(new WindowTreeImpl(
|
| - connection_manager, creator_id, root_id, policy_bitmask));
|
| + scoped_ptr<WindowTreeImpl> service(
|
| + new WindowTreeImpl(connection_manager, root_id, policy_bitmask));
|
| last_connection_ = new TestClientConnection(std::move(service));
|
| return last_connection_;
|
| }
|
| @@ -222,7 +221,7 @@ class TestWindowTreeHostConnection : public WindowTreeHostConnection {
|
| void OnDisplayInitialized() override {
|
| connection_manager()->AddHost(this);
|
| set_window_tree(connection_manager()->EmbedAtWindow(
|
| - kInvalidConnectionId, window_tree_host()->root_window()->id(),
|
| + window_tree_host()->root_window()->id(),
|
| mus::mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT,
|
| mus::mojom::WindowTreeClientPtr()));
|
| }
|
|
|