| Index: components/mus/ws/window_tree_apptest.cc
|
| diff --git a/components/mus/ws/window_tree_apptest.cc b/components/mus/ws/window_tree_apptest.cc
|
| index 29510370e929305f99438d7b4e5c6ccf68da2aa0..5bf608966fe195aab2a0c9e16b10d166afeadfb6 100644
|
| --- a/components/mus/ws/window_tree_apptest.cc
|
| +++ b/components/mus/ws/window_tree_apptest.cc
|
| @@ -71,7 +71,7 @@ bool EmbedUrl(mojo::Shell* shell,
|
| base::RunLoop run_loop;
|
| {
|
| mojom::WindowTreeClientPtr client;
|
| - shell->ConnectToService(url.get(), &client);
|
| + shell->ConnectToInterface(url.get(), &client);
|
| ws->Embed(root_id, std::move(client),
|
| mojom::WindowTree::kAccessPolicyDefault,
|
| base::Bind(&EmbedCallbackImpl, &run_loop, &result));
|
| @@ -566,7 +566,7 @@ class WindowTreeAppTest : public mojo::test::ApplicationTestBase,
|
| client_factory_.reset(new WindowTreeClientFactory());
|
|
|
| mojom::WindowTreeHostFactoryPtr factory;
|
| - shell()->ConnectToService("mojo:mus", &factory);
|
| + shell()->ConnectToInterface("mojo:mus", &factory);
|
|
|
| mojom::WindowTreeClientPtr tree_client_ptr;
|
| ws_client1_.reset(new TestWindowTreeClientImpl());
|
|
|