Index: services/ui/public/cpp/tests/window_server_test_base.cc |
diff --git a/services/ui/public/cpp/tests/window_server_test_base.cc b/services/ui/public/cpp/tests/window_server_test_base.cc |
index c3b2f67d49046daad77a5665fe498ca95c95ee92..025a56ddf71a407a0b27abbc50a1e20c5ab87410 100644 |
--- a/services/ui/public/cpp/tests/window_server_test_base.cc |
+++ b/services/ui/public/cpp/tests/window_server_test_base.cc |
@@ -73,8 +73,9 @@ void WindowServerTestBase::SetUp() { |
std::swap(window_manager_, most_recent_client_); |
} |
-bool WindowServerTestBase::OnConnect(shell::Connection* connection) { |
- connection->AddInterface<mojom::WindowTreeClient>(this); |
+bool WindowServerTestBase::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ registry->AddInterface<mojom::WindowTreeClient>(this); |
return true; |
} |