Index: net/tools/quic/end_to_end_test.cc |
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc |
index fa56de6aeb1860efdb35bc528422b33ee71a8239..ec6088a70d3db19601358146319c2ba2b709201c 100644 |
--- a/net/tools/quic/end_to_end_test.cc |
+++ b/net/tools/quic/end_to_end_test.cc |
@@ -362,7 +362,10 @@ class EndToEndTest : public ::testing::TestWithParam<TestParams> { |
reinterpret_cast<QuicEpollConnectionHelper*>( |
QuicConnectionPeer::GetHelper( |
client_->client()->session()->connection())), |
+ QuicConnectionPeer::GetAlarmFactory( |
+ client_->client()->session()->connection()), |
new ClientDelegate(client_->client())); |
+ |
initialized_ = true; |
return client_->client()->connected(); |
} |
@@ -399,6 +402,7 @@ class EndToEndTest : public ::testing::TestWithParam<TestParams> { |
GetParam().server_uses_stateless_rejects_if_peer_supported; |
server_writer_->Initialize(QuicDispatcherPeer::GetHelper(dispatcher), |
+ QuicDispatcherPeer::GetAlarmFactory(dispatcher), |
new ServerDelegate(dispatcher)); |
if (stream_factory_ != nullptr) { |
static_cast<QuicTestServer*>(server_thread_->server()) |
@@ -2639,6 +2643,8 @@ TEST_P(EndToEndTest, DISABLED_TestHugeResponseWithPacketLoss) { |
static EpollEvent event(EPOLLOUT, false); |
client_writer_->Initialize( |
QuicConnectionPeer::GetHelper(client_->client()->session()->connection()), |
+ QuicConnectionPeer::GetAlarmFactory( |
+ client_->client()->session()->connection()), |
new ClientDelegate(client_->client())); |
initialized_ = true; |
ASSERT_TRUE(client_->client()->connected()); |