| Index: components/mus/ws/window_manager_client_apptest.cc
|
| diff --git a/components/mus/ws/window_manager_client_apptest.cc b/components/mus/ws/window_manager_client_apptest.cc
|
| index e38b76347462490fe2b05626ea871bcd786be3e9..7da2287d2c150be673c4ff052cfae7c8c083626a 100644
|
| --- a/components/mus/ws/window_manager_client_apptest.cc
|
| +++ b/components/mus/ws/window_manager_client_apptest.cc
|
| @@ -228,12 +228,8 @@ class WindowServerTest : public WindowServerTestBase {
|
| // WindowTreeClient.
|
| mus::mojom::WindowTreeClientPtr
|
| ConnectToApplicationAndGetWindowServerClient() {
|
| - mojo::URLRequestPtr request(mojo::URLRequest::New());
|
| - request->url = mojo::String::From(application_impl()->url());
|
| - scoped_ptr<mojo::ApplicationConnection> connection =
|
| - application_impl()->ConnectToApplication(request.Pass());
|
| mus::mojom::WindowTreeClientPtr client;
|
| - connection->ConnectToService(&client);
|
| + application_impl()->ConnectToService(application_impl()->url(), &client);
|
| return client.Pass();
|
| }
|
|
|
|
|