| Index: services/notifications/apptests/notifications_apptest.cc
|
| diff --git a/services/notifications/apptests/notifications_apptest.cc b/services/notifications/apptests/notifications_apptest.cc
|
| index c5e17f248bf9b9cea1cc3b57878cf7e8e83ef823..dc41dd131b112fbd196ee9f60376d9c487934752 100644
|
| --- a/services/notifications/apptests/notifications_apptest.cc
|
| +++ b/services/notifications/apptests/notifications_apptest.cc
|
| @@ -6,6 +6,7 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "mojo/public/cpp/application/application_impl.h"
|
| #include "mojo/public/cpp/application/application_test_base.h"
|
| +#include "mojo/public/cpp/application/connect.h"
|
| #include "mojo/public/cpp/bindings/callback.h"
|
| #include "mojo/public/cpp/environment/logging.h"
|
| #include "mojo/public/cpp/system/macros.h"
|
| @@ -30,8 +31,8 @@ class NotificationsApplicationTest : public test::ApplicationTestBase,
|
| // ApplicationTestBase:
|
| void SetUp() override {
|
| ApplicationTestBase::SetUp();
|
| - application_impl()->ConnectToServiceDeprecated("mojo:notifications",
|
| - ¬ification_service_);
|
| + ConnectToService(application_impl()->shell(), "mojo:notifications",
|
| + GetProxy(¬ification_service_));
|
| }
|
|
|
| notifications::NotificationServicePtr notification_service_;
|
|
|