Index: examples/authentication_demo/google_authentication_demo.cc |
diff --git a/examples/authentication_demo/google_authentication_demo.cc b/examples/authentication_demo/google_authentication_demo.cc |
index e3a1869a3e139c14ec235d5efe3325fd099090be..38caaf2cef1ec56b6928a571687c8f099e34ae06 100644 |
--- a/examples/authentication_demo/google_authentication_demo.cc |
+++ b/examples/authentication_demo/google_authentication_demo.cc |
@@ -23,7 +23,8 @@ class GoogleAuthApp : public mojo::ApplicationDelegate { |
void Initialize(mojo::ApplicationImpl* app) override { |
DLOG(INFO) << "Connecting to authentication service..."; |
- app->ConnectToService("mojo:authentication", &authentication_service_); |
+ app->ConnectToServiceDeprecated("mojo:authentication", |
+ &authentication_service_); |
mojo::Array<mojo::String> scopes; |
scopes.push_back("profile"); |