Index: net/tools/quic/quic_client.cc |
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc |
index 15f6f5ce0f737d06bd67f8fefc1da0fe1da59479..c99d4dec8b3e3159e595081dfa52d1e981640ce7 100644 |
--- a/net/tools/quic/quic_client.cc |
+++ b/net/tools/quic/quic_client.cc |
@@ -21,6 +21,7 @@ |
#include "net/quic/quic_flags.h" |
#include "net/quic/quic_protocol.h" |
#include "net/quic/quic_server_id.h" |
+#include "net/tools/quic/quic_epoll_alarm_factory.h" |
#include "net/tools/quic/quic_epoll_connection_helper.h" |
#include "net/tools/quic/quic_socket_utils.h" |
#include "net/tools/quic/spdy_balsa_utils.h" |
@@ -68,6 +69,7 @@ QuicClient::QuicClient(IPEndPoint server_address, |
supported_versions, |
config, |
new QuicEpollConnectionHelper(epoll_server, QuicAllocator::SIMPLE), |
+ new QuicEpollAlarmFactory(epoll_server), |
proof_verifier), |
server_address_(server_address), |
local_port_(0), |
@@ -230,7 +232,7 @@ void QuicClient::StartConnect() { |
} |
CreateQuicClientSession(new QuicConnection( |
- GetNextConnectionId(), server_address_, helper(), writer, |
+ GetNextConnectionId(), server_address_, helper(), alarm_factory(), writer, |
/* owns_writer= */ false, Perspective::IS_CLIENT, supported_versions())); |
// Reset |writer_| after |session()| so that the old writer outlives the old |