Index: net/quic/quic_http_stream_test.cc |
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc |
index 1370ced7d1785f6e57d6fc9295d1913cf270fa90..e5bcdcccf10e8e94c354f3cc562522b260917c6e 100644 |
--- a/net/quic/quic_http_stream_test.cc |
+++ b/net/quic/quic_http_stream_test.cc |
@@ -180,9 +180,11 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<bool> { |
connection_->set_visitor(&visitor_); |
connection_->SetSendAlgorithm(send_algorithm_); |
connection_->SetReceiveAlgorithm(receive_algorithm_); |
+ crypto_config_.SetDefaults(); |
session_.reset(new QuicClientSession(connection_, socket, NULL, |
&crypto_client_stream_factory_, |
- "www.google.com", NULL)); |
+ "www.google.com", &crypto_config_, |
+ NULL)); |
session_->GetCryptoStream()->CryptoConnect(); |
EXPECT_TRUE(session_->IsCryptoHandshakeComplete()); |
QuicReliableClientStream* stream = |
@@ -267,6 +269,8 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<bool> { |
testing::StrictMock<MockConnectionVisitor> visitor_; |
scoped_ptr<QuicHttpStream> stream_; |
scoped_ptr<QuicClientSession> session_; |
+ QuicConfig* config_; |
+ QuicCryptoClientConfig crypto_config_; |
TestCompletionCallback callback_; |
HttpRequestInfo request_; |
HttpRequestHeaders headers_; |