Index: mojo/services/network/http_server_apptest.cc |
diff --git a/mojo/services/network/http_server_apptest.cc b/mojo/services/network/http_server_apptest.cc |
index aefc973bcdbf34647f243107d27084e78a8be80f..7d959a3ddaadb827f39493eb7cdff6bfed5be206 100644 |
--- a/mojo/services/network/http_server_apptest.cc |
+++ b/mojo/services/network/http_server_apptest.cc |
@@ -558,8 +558,8 @@ class HttpServerAppTest : public test::ApplicationTestBase { |
scoped_ptr<Connection> connection = |
shell()->Connect("mojo:network_service"); |
- connection->ConnectToService(&network_service_); |
- connection->ConnectToService(&web_socket_factory_); |
+ connection->GetInterface(&network_service_); |
+ connection->GetInterface(&web_socket_factory_); |
} |
void CreateHttpServer(HttpServerDelegatePtr delegate, |