| Index: services/js/echo_apptest.cc
|
| diff --git a/services/js/echo_apptest.cc b/services/js/echo_apptest.cc
|
| index 7a8a3c5e35f3a328c5c2de49f8d8c60818faf670..68ed79b51a819c1450c897c4e8df1199ab631b5b 100644
|
| --- a/services/js/echo_apptest.cc
|
| +++ b/services/js/echo_apptest.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "mojo/public/cpp/application/connect.h"
|
| #include "services/js/test/echo_service.mojom.h"
|
| #include "services/js/test/js_application_test_base.h"
|
|
|
| @@ -20,7 +21,8 @@ class JSEchoTest : public test::JSApplicationTestBase {
|
| void SetUp() override {
|
| ApplicationTestBase::SetUp();
|
| const std::string& url = JSAppURL("echo.js");
|
| - application_impl()->ConnectToServiceDeprecated(url, &echo_service_);
|
| + mojo::ConnectToService(application_impl()->shell(), url,
|
| + GetProxy(&echo_service_));
|
| }
|
|
|
| mojo::EchoServicePtr echo_service_;
|
|
|