Index: services/shell/tests/shell/driver.cc |
diff --git a/services/shell/tests/shell/driver.cc b/services/shell/tests/shell/driver.cc |
index b78d174fc552b6014d1a9c9c72e13bfce50408a4..1f737b28a91fcd672b775efd4648a80d7e2c7f21 100644 |
--- a/services/shell/tests/shell/driver.cc |
+++ b/services/shell/tests/shell/driver.cc |
@@ -101,8 +101,9 @@ class Driver : public shell::Service, |
child_token); |
} |
- bool OnConnect(shell::Connection* connection) override { |
- connection->AddInterface<shell::test::mojom::Driver>(this); |
+ bool OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) override { |
+ registry->AddInterface<shell::test::mojom::Driver>(this); |
return true; |
} |