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 65a2f2bd4d76b00b29191fa5a44f5e38604c1da0..bdb64dd46a44356f87bf390395670552adeb05c2 100644 |
--- a/services/ui/public/cpp/tests/window_server_test_base.cc |
+++ b/services/ui/public/cpp/tests/window_server_test_base.cc |
@@ -73,7 +73,7 @@ void WindowServerTestBase::SetUp() { |
std::swap(window_manager_, most_recent_client_); |
} |
-bool WindowServerTestBase::AcceptConnection(shell::Connection* connection) { |
+bool WindowServerTestBase::OnConnect(shell::Connection* connection) { |
connection->AddInterface<mojom::WindowTreeClient>(this); |
return true; |
} |