| Index: net/quic/quic_received_packet_manager.cc
|
| diff --git a/net/quic/quic_received_packet_manager.cc b/net/quic/quic_received_packet_manager.cc
|
| index 38ceec68bb466d25ef7fbe1f54cc4d07db2e76cb..f45a6ba510bd9690a3ab17ffe0d57ce60d808ed3 100644
|
| --- a/net/quic/quic_received_packet_manager.cc
|
| +++ b/net/quic/quic_received_packet_manager.cc
|
| @@ -237,8 +237,8 @@ void QuicReceivedPacketManager::UpdateReceivedPacketInfo(
|
| // Remove all packets that are too far from largest_observed to express.
|
| received_packet_times_.remove_if(isTooLarge(ack_frame_.largest_observed));
|
|
|
| - ack_frame->received_packet_times = received_packet_times_;
|
| - received_packet_times_.clear();
|
| + ack_frame->received_packet_times.clear();
|
| + ack_frame->received_packet_times.swap(received_packet_times_);
|
| }
|
|
|
| QuicPacketEntropyHash QuicReceivedPacketManager::EntropyHash(
|
|
|