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 316f1143fec1efe9cc353b230c9343f0f1142573..bc0037abd5ea3f879174162bec01ef99179d6bdc 100644 |
--- a/net/quic/quic_http_stream_test.cc |
+++ b/net/quic/quic_http_stream_test.cc |
@@ -49,6 +49,8 @@ namespace test { |
namespace { |
const char kUploadData[] = "hello world!"; |
+const char kServerHostname[] = "www.google.com"; |
+const uint16 kServerPort = 80; |
class TestQuicConnection : public QuicConnection { |
public: |
@@ -206,8 +208,9 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> { |
writer_.Pass(), NULL, |
make_scoped_ptr((QuicServerInfo*)NULL), |
&crypto_client_stream_factory_, |
- "www.google.com", DefaultQuicConfig(), |
- &crypto_config_, NULL)); |
+ QuicSessionKey(kServerHostname, kServerPort, |
+ false), |
+ DefaultQuicConfig(), &crypto_config_, NULL)); |
session_->GetCryptoStream()->CryptoConnect(); |
EXPECT_TRUE(session_->IsCryptoHandshakeConfirmed()); |
stream_.reset(use_closing_stream_ ? |