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..f25011d5d307a6e2d1514338eaf64f542721e030 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); |
@@ -650,7 +650,7 @@ TEST_F(ReliableQuicStreamTest, |
// Stream should not accept the frame, and the connection should be closed. |
EXPECT_CALL(*connection_, |
SendConnectionClose(QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA)); |
- EXPECT_FALSE(stream_->OnStreamFrame(frame)); |
+ stream_->OnStreamFrame(frame); |
} |
TEST_F(ReliableQuicStreamTest, FinalByteOffsetFromFin) { |