| Index: net/quic/test_tools/quic_test_utils.cc
|
| diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
|
| index 28a260dd29aca78bb4e1db52a9e47b1fc541c38c..a51c8084cf7fd03b9b91544937eb25db8f323af8 100644
|
| --- a/net/quic/test_tools/quic_test_utils.cc
|
| +++ b/net/quic/test_tools/quic_test_utils.cc
|
| @@ -61,7 +61,7 @@ QuicPacket* BuildUnsizedDataPacket(QuicFramer* framer,
|
| bool last_frame = i == frames.size() - 1;
|
| const size_t frame_size = framer->GetSerializedFrameLength(
|
| frames[i], max_plaintext_size - packet_size, first_frame, last_frame,
|
| - header.is_in_fec_group, header.public_header.packet_number_length);
|
| + header.public_header.packet_number_length);
|
| DCHECK(frame_size);
|
| packet_size += frame_size;
|
| }
|
| @@ -672,20 +672,18 @@ size_t GetPacketLengthForOneStream(QuicVersion version,
|
| bool include_path_id,
|
| QuicConnectionIdLength connection_id_length,
|
| QuicPacketNumberLength packet_number_length,
|
| - InFecGroup is_in_fec_group,
|
| size_t* payload_length) {
|
| *payload_length = 1;
|
| const size_t stream_length =
|
| NullEncrypter().GetCiphertextSize(*payload_length) +
|
| QuicPacketCreator::StreamFramePacketOverhead(
|
| PACKET_8BYTE_CONNECTION_ID, include_version, include_path_id,
|
| - packet_number_length, 0u, is_in_fec_group);
|
| + packet_number_length, 0u);
|
| const size_t ack_length =
|
| NullEncrypter().GetCiphertextSize(
|
| QuicFramer::GetMinAckFrameSize(PACKET_1BYTE_PACKET_NUMBER)) +
|
| GetPacketHeaderSize(connection_id_length, include_version,
|
| - include_path_id, packet_number_length,
|
| - is_in_fec_group);
|
| + include_path_id, packet_number_length);
|
| if (stream_length < ack_length) {
|
| *payload_length = 1 + ack_length - stream_length;
|
| }
|
| @@ -693,7 +691,7 @@ size_t GetPacketLengthForOneStream(QuicVersion version,
|
| return NullEncrypter().GetCiphertextSize(*payload_length) +
|
| QuicPacketCreator::StreamFramePacketOverhead(
|
| connection_id_length, include_version, include_path_id,
|
| - packet_number_length, 0u, is_in_fec_group);
|
| + packet_number_length, 0u);
|
| }
|
|
|
| TestEntropyCalculator::TestEntropyCalculator() {}
|
|
|