Index: chrome/test/ppapi/ppapi_test.cc |
diff --git a/chrome/test/ppapi/ppapi_test.cc b/chrome/test/ppapi/ppapi_test.cc |
index 2c1def44d16ace12c42195273474a742b450b5c3..2e70a9f308eb447fd05387ddbb9934aa03f8547c 100644 |
--- a/chrome/test/ppapi/ppapi_test.cc |
+++ b/chrome/test/ppapi/ppapi_test.cc |
@@ -219,10 +219,13 @@ void PPAPITestBase::RunTestWithWebSocketServer(const std::string& test_case) { |
ASSERT_TRUE(http_server.BlockUntilStarted()); |
ASSERT_TRUE(ws_server.BlockUntilStarted()); |
+ std::string host = ws_server.host_port_pair().HostForURL(); |
uint16_t port = ws_server.host_port_pair().port(); |
RunTestURL(GetTestURL(http_server, |
test_case, |
- StringPrintf("websocket_port=%d", port))); |
+ StringPrintf("websocket_host=%s&websocket_port=%d", |
+ host.c_str(), |
+ port))); |
} |
void PPAPITestBase::RunTestIfAudioOutputAvailable( |