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 0fbac6aeec0a69ae8806f436a551a9af321689d2..c781b23c5e939b50c0f824a1d07a9b83edb9c208 100644 |
--- a/net/quic/test_tools/quic_test_utils.cc |
+++ b/net/quic/test_tools/quic_test_utils.cc |
@@ -45,8 +45,8 @@ class TestAlarm : public QuicAlarm { |
QuicAckFrame MakeAckFrame(QuicPacketSequenceNumber largest_observed) { |
QuicAckFrame ack; |
- ack.received_info.largest_observed = largest_observed; |
- ack.received_info.entropy_hash = 0; |
+ ack.largest_observed = largest_observed; |
+ ack.entropy_hash = 0; |
return ack; |
} |
@@ -55,7 +55,7 @@ QuicAckFrame MakeAckFrameWithNackRanges( |
QuicAckFrame ack = MakeAckFrame(2 * num_nack_ranges + least_unacked); |
// Add enough missing packets to get num_nack_ranges nack ranges. |
for (QuicPacketSequenceNumber i = 1; i < 2 * num_nack_ranges; i += 2) { |
- ack.received_info.missing_packets.insert(least_unacked + i); |
+ ack.missing_packets.insert(least_unacked + i); |
} |
return ack; |
} |
@@ -558,11 +558,11 @@ size_t GetPacketLengthForOneStream( |
const size_t stream_length = |
NullEncrypter().GetCiphertextSize(*payload_length) + |
QuicPacketCreator::StreamFramePacketOverhead( |
- version, PACKET_8BYTE_CONNECTION_ID, include_version, |
+ PACKET_8BYTE_CONNECTION_ID, include_version, |
sequence_number_length, 0u, is_in_fec_group); |
const size_t ack_length = NullEncrypter().GetCiphertextSize( |
QuicFramer::GetMinAckFrameSize( |
- version, sequence_number_length, PACKET_1BYTE_SEQUENCE_NUMBER)) + |
+ sequence_number_length, PACKET_1BYTE_SEQUENCE_NUMBER)) + |
GetPacketHeaderSize(PACKET_8BYTE_CONNECTION_ID, include_version, |
sequence_number_length, is_in_fec_group); |
if (stream_length < ack_length) { |
@@ -571,7 +571,7 @@ size_t GetPacketLengthForOneStream( |
return NullEncrypter().GetCiphertextSize(*payload_length) + |
QuicPacketCreator::StreamFramePacketOverhead( |
- version, PACKET_8BYTE_CONNECTION_ID, include_version, |
+ PACKET_8BYTE_CONNECTION_ID, include_version, |
sequence_number_length, 0u, is_in_fec_group); |
} |