| Index: net/quic/quic_framer.cc
|
| diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
|
| index 570cd182c18233fde3a57fe54eef79620d24b193..5a5a1fe148e6f85335deb596f64302c75c7f74d7 100644
|
| --- a/net/quic/quic_framer.cc
|
| +++ b/net/quic/quic_framer.cc
|
| @@ -12,6 +12,7 @@
|
| #include "net/quic/quic_utils.h"
|
|
|
| using base::StringPiece;
|
| +using std::make_pair;
|
| using std::map;
|
| using std::numeric_limits;
|
|
|
| @@ -499,8 +500,9 @@ bool QuicFramer::ProcessQuicCongestionFeedbackFrame(
|
| return false;
|
| }
|
|
|
| - inter_arrival->received_packet_times[smallest_received] =
|
| - QuicTime::FromMicroseconds(time_received_us);
|
| + inter_arrival->received_packet_times.insert(
|
| + make_pair(smallest_received,
|
| + QuicTime::FromMicroseconds(time_received_us)));
|
|
|
| for (int i = 0; i < num_received_packets - 1; ++i) {
|
| uint16 sequence_delta;
|
| @@ -517,8 +519,9 @@ bool QuicFramer::ProcessQuicCongestionFeedbackFrame(
|
| return false;
|
| }
|
| QuicPacketSequenceNumber packet = smallest_received + sequence_delta;
|
| - inter_arrival->received_packet_times[packet] =
|
| - QuicTime::FromMicroseconds(time_received_us + time_delta_us);
|
| + inter_arrival->received_packet_times.insert(
|
| + make_pair(packet, QuicTime::FromMicroseconds(time_received_us +
|
| + time_delta_us)));
|
| }
|
| }
|
| break;
|
|
|