Index: net/quic/congestion_control/tcp_cubic_sender_bytes.cc |
diff --git a/net/quic/congestion_control/tcp_cubic_sender_bytes.cc b/net/quic/congestion_control/tcp_cubic_sender_bytes.cc |
index 012bf043e11a2c1629531ad0de1acceda5c1aadb..88f02e27175508d1cd81227035c76f41e4aef2b3 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender_bytes.cc |
+++ b/net/quic/congestion_control/tcp_cubic_sender_bytes.cc |
@@ -80,12 +80,6 @@ void TcpCubicSenderBytes::SetNumEmulatedConnections(int num_connections) { |
cubic_.SetNumConnections(num_connections_); |
} |
-void TcpCubicSenderBytes::SetMaxCongestionWindow( |
- QuicByteCount max_congestion_window) { |
- DCHECK(!FLAGS_quic_ignore_srbf); |
- max_congestion_window_ = max_congestion_window; |
-} |
- |
void TcpCubicSenderBytes::ExitSlowstart() { |
slowstart_threshold_ = congestion_window_; |
} |
@@ -123,8 +117,7 @@ void TcpCubicSenderBytes::OnPacketLost(QuicPacketNumber packet_number, |
// TODO(jri): Separate out all of slow start into a separate class. |
if (slow_start_large_reduction_ && InSlowStart()) { |
DCHECK_LT(kDefaultTCPMSS, congestion_window_); |
- if (FLAGS_quic_sslr_limit_reduction && |
- congestion_window_ >= 2 * initial_tcp_congestion_window_) { |
+ if (congestion_window_ >= 2 * initial_tcp_congestion_window_) { |
min_slow_start_exit_window_ = congestion_window_ / 2; |
} |
congestion_window_ = congestion_window_ - kDefaultTCPMSS; |