Index: components/mus/ws/window_tree_apptest.cc |
diff --git a/components/mus/ws/window_tree_apptest.cc b/components/mus/ws/window_tree_apptest.cc |
index cb43c7eead0ed76d9dd653fa519133798ab16fa0..29510370e929305f99438d7b4e5c6ccf68da2aa0 100644 |
--- a/components/mus/ws/window_tree_apptest.cc |
+++ b/components/mus/ws/window_tree_apptest.cc |
@@ -593,7 +593,7 @@ class WindowTreeAppTest : public mojo::test::ApplicationTestBase, |
// mojo::ShellClient implementation. |
bool AcceptConnection(Connection* connection) override { |
- connection->AddService(client_factory_.get()); |
+ connection->AddInterface(client_factory_.get()); |
return true; |
} |