Index: net/quic/quic_crypto_client_stream_test.cc |
diff --git a/net/quic/quic_crypto_client_stream_test.cc b/net/quic/quic_crypto_client_stream_test.cc |
index d49e2c5d168d68328a7b165b57428eb4bff54da3..5ac2c97d7b1367ec261b8a700175a2bd243a2d65 100644 |
--- a/net/quic/quic_crypto_client_stream_test.cc |
+++ b/net/quic/quic_crypto_client_stream_test.cc |
@@ -24,8 +24,7 @@ const char kServerHostname[] = "example.com"; |
class QuicCryptoClientStreamTest : public ::testing::Test { |
public: |
QuicCryptoClientStreamTest() |
- : addr_(), |
- connection_(new PacketSavingConnection(1, addr_, false)), |
+ : connection_(new PacketSavingConnection(false)), |
session_(new TestSession(connection_, DefaultQuicConfig(), false)), |
stream_(new QuicCryptoClientStream(kServerHostname, session_.get(), |
&crypto_config_)) { |
@@ -43,7 +42,6 @@ class QuicCryptoClientStreamTest : public ::testing::Test { |
message_data_.reset(framer.ConstructHandshakeMessage(message_)); |
} |
- IPEndPoint addr_; |
PacketSavingConnection* connection_; |
scoped_ptr<TestSession> session_; |
scoped_ptr<QuicCryptoClientStream> stream_; |
@@ -115,7 +113,7 @@ TEST_F(QuicCryptoClientStreamTest, ExpiredServerConfig) { |
// Seed the config with a cached server config. |
CompleteCryptoHandshake(); |
- connection_ = new PacketSavingConnection(1, addr_, true); |
+ connection_ = new PacketSavingConnection(true); |
session_.reset(new TestSession(connection_, DefaultQuicConfig(), true)); |
stream_.reset(new QuicCryptoClientStream(kServerHostname, session_.get(), |
&crypto_config_)); |