summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_client_session_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_client_session_test.cc')
-rw-r--r--net/quic/quic_client_session_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/quic/quic_client_session_test.cc b/net/quic/quic_client_session_test.cc
index f15e695..6b4e887 100644
--- a/net/quic/quic_client_session_test.cc
+++ b/net/quic/quic_client_session_test.cc
@@ -72,13 +72,13 @@ class QuicClientSessionTest : public ::testing::TestWithParam<QuicVersion> {
: writer_(new TestPacketWriter(GetParam())),
connection_(
new PacketSavingConnection(false, SupportedVersions(GetParam()))),
- session_(connection_, GetSocket().Pass(), writer_.Pass(), NULL, NULL,
- make_scoped_ptr((QuicServerInfo*)NULL),
- QuicServerId(kServerHostname, kServerPort, false,
- PRIVACY_MODE_DISABLED),
- DefaultQuicConfig(), &crypto_config_,
+ session_(connection_, GetSocket().Pass(), writer_.Pass(), NULL,
+ make_scoped_ptr((QuicServerInfo*)NULL), DefaultQuicConfig(),
base::MessageLoop::current()->message_loop_proxy().get(),
&net_log_) {
+ session_.InitializeSession(QuicServerId(kServerHostname, kServerPort, false,
+ PRIVACY_MODE_DISABLED),
+ &crypto_config_, NULL);
session_.config()->SetDefaults();
crypto_config_.SetDefaults();
}