Index: content/public/test/test_mojo_app.cc |
diff --git a/content/public/test/test_mojo_app.cc b/content/public/test/test_mojo_app.cc |
index a33c3deb5c90c23a070e02fe4ad87b83b3773a94..d3ab0f7b11846d495e48d628a3b9717aaace2455 100644 |
--- a/content/public/test/test_mojo_app.cc |
+++ b/content/public/test/test_mojo_app.cc |
@@ -21,9 +21,10 @@ TestMojoApp::TestMojoApp() : service_binding_(this) { |
TestMojoApp::~TestMojoApp() { |
} |
-bool TestMojoApp::OnConnect(shell::Connection* connection) { |
- requestor_name_ = connection->GetRemoteIdentity().name(); |
- connection->AddInterface<mojom::TestMojoService>(this); |
+bool TestMojoApp::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ requestor_name_ = remote_identity.name(); |
+ registry->AddInterface<mojom::TestMojoService>(this); |
return true; |
} |