Index: services/ui/ws/window_tree_client_unittest.cc |
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc |
index 3e628f8b2be1b10fdc7f35d9340ae18c41932b93..07804b3056f533808ac01f5bd1d0357ca9b3d44e 100644 |
--- a/services/ui/ws/window_tree_client_unittest.cc |
+++ b/services/ui/ws/window_tree_client_unittest.cc |
@@ -21,7 +21,7 @@ |
using mojo::Array; |
using shell::Connection; |
using mojo::InterfaceRequest; |
-using shell::ShellClient; |
+using shell::Service; |
using mojo::String; |
using ui::mojom::WindowDataPtr; |
using ui::mojom::WindowTree; |
@@ -576,7 +576,7 @@ class WindowTreeClientTest : public WindowServerShellTestBase { |
} |
// WindowServerShellTestBase: |
- bool AcceptConnection(shell::Connection* connection) override { |
+ bool OnConnect(shell::Connection* connection) override { |
connection->AddInterface(client_factory_.get()); |
return true; |
} |