Index: net/quic/reliable_quic_stream_test.cc |
diff --git a/net/quic/reliable_quic_stream_test.cc b/net/quic/reliable_quic_stream_test.cc |
index ea81d6e34024fb27645ab5329536fce210afa565..168677b8fc6f2bb96b9606b0fca9727aca00ddb5 100644 |
--- a/net/quic/reliable_quic_stream_test.cc |
+++ b/net/quic/reliable_quic_stream_test.cc |
@@ -154,7 +154,7 @@ TEST_F(ReliableQuicStreamTest, WriteAllData) { |
Initialize(kShouldProcessData); |
size_t length = 1 + QuicPacketCreator::StreamFramePacketOverhead( |
- connection_->version(), PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
+ PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
PACKET_6BYTE_SEQUENCE_NUMBER, 0u, NOT_IN_FEC_GROUP); |
QuicConnectionPeer::GetPacketCreator(connection_)->set_max_packet_length( |
length); |
@@ -214,7 +214,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferData) { |
EXPECT_FALSE(HasWriteBlockedStreams()); |
size_t length = 1 + QuicPacketCreator::StreamFramePacketOverhead( |
- connection_->version(), PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
+ PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
PACKET_6BYTE_SEQUENCE_NUMBER, 0u, NOT_IN_FEC_GROUP); |
QuicConnectionPeer::GetPacketCreator(connection_)->set_max_packet_length( |
length); |
@@ -249,7 +249,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataWithFecProtectAlways) { |
EXPECT_FALSE(HasWriteBlockedStreams()); |
size_t length = 1 + QuicPacketCreator::StreamFramePacketOverhead( |
- connection_->version(), PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
+ PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
PACKET_6BYTE_SEQUENCE_NUMBER, 0u, IN_FEC_GROUP); |
QuicConnectionPeer::GetPacketCreator(connection_)->set_max_packet_length( |
length); |
@@ -285,7 +285,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataWithFecProtectOptional) { |
EXPECT_FALSE(HasWriteBlockedStreams()); |
size_t length = 1 + QuicPacketCreator::StreamFramePacketOverhead( |
- connection_->version(), PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
+ PACKET_8BYTE_CONNECTION_ID, !kIncludeVersion, |
PACKET_6BYTE_SEQUENCE_NUMBER, 0u, NOT_IN_FEC_GROUP); |
QuicConnectionPeer::GetPacketCreator(connection_)->set_max_packet_length( |
length); |