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 678fc55059849e9c50367d7a93e8594b4a847a4a..ab47629c6edf460fb7ea1a386b2d393619d891be 100644 |
--- a/components/mus/public/cpp/tests/window_server_test_base.cc |
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc |
@@ -76,7 +76,7 @@ mojo::ShellClient* WindowServerTestBase::GetShellClient() { |
} |
bool WindowServerTestBase::AcceptConnection(mojo::Connection* connection) { |
- connection->AddService<mojom::WindowTreeClient>(this); |
+ connection->AddInterface<mojom::WindowTreeClient>(this); |
return true; |
} |