summaryrefslogtreecommitdiffstats
path: root/net/websockets/websocket_job_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/websockets/websocket_job_unittest.cc')
-rw-r--r--net/websockets/websocket_job_unittest.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/websockets/websocket_job_unittest.cc b/net/websockets/websocket_job_unittest.cc
index 4f6bc97..2fd25d1 100644
--- a/net/websockets/websocket_job_unittest.cc
+++ b/net/websockets/websocket_job_unittest.cc
@@ -276,12 +276,11 @@ class MockHttpTransactionFactory : public net::HttpTransactionFactory {
false,
false);
net::ClientSocketHandle* connection = new net::ClientSocketHandle;
- EXPECT_EQ(net::OK, connection->Init(host_port_pair_.ToString(),
- transport_params_,
- net::MEDIUM,
- NULL,
- http_session_->GetTransportSocketPool(),
- net::BoundNetLog()));
+ EXPECT_EQ(net::OK,
+ connection->Init(host_port_pair_.ToString(), transport_params_,
+ net::MEDIUM, net::CompletionCallback(),
+ http_session_->GetTransportSocketPool(),
+ net::BoundNetLog()));
EXPECT_EQ(net::OK,
session_->InitializeWithSocket(connection, false, net::OK));
}