Index: net/quic/congestion_control/tcp_cubic_sender_packets.cc |
diff --git a/net/quic/congestion_control/tcp_cubic_sender_packets.cc b/net/quic/congestion_control/tcp_cubic_sender_packets.cc |
index e1c225febb4ad1338484022f645042b891b26e48..aee29ba1064cdc3efa7774fc6f6c5794cd111c01 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender_packets.cc |
+++ b/net/quic/congestion_control/tcp_cubic_sender_packets.cc |
@@ -89,17 +89,10 @@ void TcpCubicSenderPackets::OnPacketLost(QuicPacketNumber packet_number, |
++stats_->slowstart_packets_lost; |
stats_->slowstart_bytes_lost += lost_bytes; |
if (slow_start_large_reduction_) { |
- if (FLAGS_quic_sslr_byte_conservation) { |
- if (stats_->slowstart_packets_lost == 1 || |
- (stats_->slowstart_bytes_lost / kDefaultTCPMSS) > |
- (stats_->slowstart_bytes_lost - lost_bytes) / |
- kDefaultTCPMSS) { |
- // Reduce congestion window by 1 for every mss of bytes lost. |
- congestion_window_ = |
- max(congestion_window_ - 1, min_congestion_window_); |
- } |
- } else { |
- // Reduce congestion window by 1 for every loss. |
+ if (stats_->slowstart_packets_lost == 1 || |
+ (stats_->slowstart_bytes_lost / kDefaultTCPMSS) > |
+ (stats_->slowstart_bytes_lost - lost_bytes) / kDefaultTCPMSS) { |
+ // Reduce congestion window by 1 for every mss of bytes lost. |
congestion_window_ = |
max(congestion_window_ - 1, min_congestion_window_); |
} |