| Index: net/quic/congestion_control/tcp_cubic_sender.cc
|
| diff --git a/net/quic/congestion_control/tcp_cubic_sender.cc b/net/quic/congestion_control/tcp_cubic_sender.cc
|
| index 3e7115d3a8a32b0d59842c5d24be46a2c29412f5..9c01fa9c68ef9c4776d6e79a5c86a30a64a37436 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender.cc
|
| @@ -88,19 +88,19 @@ void TcpCubicSender::OnIncomingQuicCongestionFeedbackFrame(
|
| void TcpCubicSender::OnCongestionEvent(
|
| bool rtt_updated,
|
| QuicByteCount bytes_in_flight,
|
| - const CongestionMap& acked_packets,
|
| - const CongestionMap& lost_packets) {
|
| + const CongestionVector& acked_packets,
|
| + const CongestionVector& lost_packets) {
|
| if (rtt_updated && InSlowStart() &&
|
| hybrid_slow_start_.ShouldExitSlowStart(rtt_stats_->latest_rtt(),
|
| rtt_stats_->min_rtt(),
|
| congestion_window_)) {
|
| slowstart_threshold_ = congestion_window_;
|
| }
|
| - for (CongestionMap::const_iterator it = lost_packets.begin();
|
| + for (CongestionVector::const_iterator it = lost_packets.begin();
|
| it != lost_packets.end(); ++it) {
|
| OnPacketLost(it->first, bytes_in_flight);
|
| }
|
| - for (CongestionMap::const_iterator it = acked_packets.begin();
|
| + for (CongestionVector::const_iterator it = acked_packets.begin();
|
| it != acked_packets.end(); ++it) {
|
| OnPacketAcked(it->first, it->second.bytes_sent, bytes_in_flight);
|
| }
|
|
|