Index: shell/shell_apptest.cc |
diff --git a/shell/shell_apptest.cc b/shell/shell_apptest.cc |
index 468e00c29831808a601636d65985a3afe9e2a89f..4720d0e1755948b031705542a1f8680159694f64 100644 |
--- a/shell/shell_apptest.cc |
+++ b/shell/shell_apptest.cc |
@@ -92,13 +92,13 @@ class ShellHTTPAppTest : public ShellAppTest { |
local_address.Pass()); |
http_server_->GetPort([this](uint16_t p) { port_ = p; }); |
- EXPECT_TRUE(http_server_.WaitForIncomingMethodCall()); |
+ EXPECT_TRUE(http_server_.WaitForIncomingResponse()); |
http_server::HttpHandlerPtr http_handler; |
handler_.reset(new GetHandler(mojo::GetProxy(&http_handler).Pass(), port_)); |
http_server_->SetHandler(".*", http_handler.Pass(), |
[](bool result) { EXPECT_TRUE(result); }); |
- EXPECT_TRUE(http_server_.WaitForIncomingMethodCall()); |
+ EXPECT_TRUE(http_server_.WaitForIncomingResponse()); |
} |
std::string GetURL(const std::string& path) { return ::GetURL(port_, path); } |