Index: components/mus/public/cpp/tests/window_server_test_base.cc |
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc |
index 636e4f76f652e9a4d4e06061d8d84c3b00638b6b..678fc55059849e9c50367d7a93e8594b4a847a4a 100644 |
--- a/components/mus/public/cpp/tests/window_server_test_base.cc |
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc |
@@ -71,12 +71,11 @@ void WindowServerTestBase::SetUp() { |
std::swap(window_manager_, most_recent_connection_); |
} |
-mojo::ApplicationDelegate* WindowServerTestBase::GetApplicationDelegate() { |
+mojo::ShellClient* WindowServerTestBase::GetShellClient() { |
return this; |
} |
-bool WindowServerTestBase::AcceptConnection( |
- mojo::ApplicationConnection* connection) { |
+bool WindowServerTestBase::AcceptConnection(mojo::Connection* connection) { |
connection->AddService<mojom::WindowTreeClient>(this); |
return true; |
} |
@@ -124,7 +123,7 @@ void WindowServerTestBase::OnAccelerator(uint32_t id, mojom::EventPtr event) { |
} |
void WindowServerTestBase::Create( |
- mojo::ApplicationConnection* connection, |
+ mojo::Connection* connection, |
mojo::InterfaceRequest<mojom::WindowTreeClient> request) { |
WindowTreeConnection::Create( |
this, std::move(request), |