| Index: net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc b/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| index aa99b9bf73c2e712e67d52d9ac3c82ecfc542952..ce3518926299c421052090164886540a30683850 100644
|
| --- a/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| +++ b/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| @@ -154,7 +154,8 @@ QuicByteCount TcpCubicSenderPackets::GetSlowStartThreshold() const {
|
| void TcpCubicSenderPackets::MaybeIncreaseCwnd(
|
| QuicPacketNumber acked_packet_number,
|
| QuicByteCount /*acked_bytes*/,
|
| - QuicByteCount prior_in_flight) {
|
| + QuicByteCount prior_in_flight,
|
| + QuicTime event_time) {
|
| QUIC_BUG_IF(InRecovery()) << "Never increase the CWND during recovery.";
|
| // Do not increase the congestion window unless the sender is close to using
|
| // the current window.
|
| @@ -189,8 +190,8 @@ void TcpCubicSenderPackets::MaybeIncreaseCwnd(
|
| } else {
|
| congestion_window_ =
|
| std::min(max_tcp_congestion_window_,
|
| - cubic_.CongestionWindowAfterAck(congestion_window_,
|
| - rtt_stats_->min_rtt()));
|
| + cubic_.CongestionWindowAfterAck(
|
| + congestion_window_, rtt_stats_->min_rtt(), event_time));
|
| DVLOG(1) << "Cubic; congestion window: " << congestion_window_
|
| << " slowstart threshold: " << slowstart_threshold_;
|
| }
|
|
|