| Index: net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| index a974246f64d70d5f11381e5318f0779f24ba30f5..131aef1619cacb692fda9e97266bb5a1a8ea55ca 100644
|
| --- a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| +++ b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| @@ -51,18 +51,11 @@ void TcpCubicSenderBytes::SetCongestionWindowFromBandwidthAndRtt(
|
| QuicBandwidth bandwidth,
|
| QuicTime::Delta rtt) {
|
| QuicByteCount new_congestion_window = bandwidth.ToBytesPerPeriod(rtt);
|
| - if (FLAGS_quic_no_lower_bw_resumption_limit) {
|
| - // Limit new CWND if needed.
|
| - congestion_window_ =
|
| - max(min_congestion_window_,
|
| - min(new_congestion_window,
|
| - kMaxResumptionCongestionWindow * kDefaultTCPMSS));
|
| - } else {
|
| - congestion_window_ =
|
| - max(min(new_congestion_window,
|
| - kMaxResumptionCongestionWindow * kDefaultTCPMSS),
|
| - kMinCongestionWindowForBandwidthResumption * kDefaultTCPMSS);
|
| - }
|
| + // Limit new CWND if needed.
|
| + congestion_window_ =
|
| + max(min_congestion_window_,
|
| + min(new_congestion_window,
|
| + kMaxResumptionCongestionWindow * kDefaultTCPMSS));
|
| }
|
|
|
| void TcpCubicSenderBytes::SetCongestionWindowInPackets(
|
|
|