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 9652c05a77a449e823c4166b2abf5514b955b825..32c249c32bd1bce396c4cc73bc586d886bb91e91 100644 |
--- a/mojo/services/network/http_server_apptest.cc |
+++ b/mojo/services/network/http_server_apptest.cc |
@@ -567,7 +567,7 @@ class HttpServerAppTest : public test::ApplicationTestBase { |
EXPECT_NE(0u, bound_to->ipv4->port); |
*out_bound_to = bound_to.Pass(); |
}); |
- network_service_.WaitForIncomingMethodCall(); |
+ network_service_.WaitForIncomingResponse(); |
} |
NetworkServicePtr network_service_; |