Index: mash/login/login.cc |
diff --git a/mash/login/login.cc b/mash/login/login.cc |
index f6fd46cc6504ae6ee44d27a98c72cc82d2f580a7..c9297fcc1edbad92482086fccd7ecda01263c201 100644 |
--- a/mash/login/login.cc |
+++ b/mash/login/login.cc |
@@ -158,8 +158,9 @@ class Login : public shell::Service, |
connector()->ConnectToInterface("mojo:ui", &user_access_manager_); |
user_access_manager_->SetActiveUser(identity.user_id()); |
} |
- bool OnConnect(shell::Connection* connection) override { |
- connection->AddInterface<mojom::Login>(this); |
+ bool OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) override { |
+ registry->AddInterface<mojom::Login>(this); |
return true; |
} |