Index: net/tools/quic/quic_server_session_base_test.cc |
diff --git a/net/tools/quic/quic_server_session_base_test.cc b/net/tools/quic/quic_server_session_base_test.cc |
index fb246fcef97ce94530a3d750fc13d029fec3c31d..9d79a8663e26defbb9ff8dfe42efd60794bc1815 100644 |
--- a/net/tools/quic/quic_server_session_base_test.cc |
+++ b/net/tools/quic/quic_server_session_base_test.cc |
@@ -134,8 +134,9 @@ class QuicServerSessionBaseTest : public ::testing::TestWithParam<QuicVersion> { |
config_.SetInitialSessionFlowControlWindowToSend( |
kInitialSessionFlowControlWindowForTest); |
- connection_ = new StrictMock<MockConnection>( |
- &helper_, Perspective::IS_SERVER, SupportedVersions(GetParam())); |
+ connection_ = new StrictMock<MockConnection>(&helper_, &alarm_factory_, |
+ Perspective::IS_SERVER, |
+ SupportedVersions(GetParam())); |
session_.reset(new TestServerSession(config_, connection_, &owner_, |
&crypto_config_, |
&compressed_certs_cache_)); |
@@ -149,6 +150,7 @@ class QuicServerSessionBaseTest : public ::testing::TestWithParam<QuicVersion> { |
StrictMock<MockQuicServerSessionVisitor> owner_; |
MockConnectionHelper helper_; |
+ MockAlarmFactory alarm_factory_; |
StrictMock<MockConnection>* connection_; |
QuicConfig config_; |
QuicCryptoServerConfig crypto_config_; |