Index: net/quic/congestion_control/send_algorithm_interface.cc |
diff --git a/net/quic/congestion_control/send_algorithm_interface.cc b/net/quic/congestion_control/send_algorithm_interface.cc |
index bc3ee8fa9e5072eba0174a3126b266818ff7bb57..77d8900f4c6ef699129e310725e3b8575e5d4fb6 100644 |
--- a/net/quic/congestion_control/send_algorithm_interface.cc |
+++ b/net/quic/congestion_control/send_algorithm_interface.cc |
@@ -21,10 +21,8 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create( |
QuicConnectionStats* stats, |
QuicPacketCount initial_congestion_window) { |
const QuicPacketCount max_congestion_window = |
- FLAGS_quic_limit_max_cwnd_to_receive_buffer |
- ? (kDefaultSocketReceiveBuffer * kUsableRecieveBufferFraction) / |
- kDefaultTCPMSS |
- : kMaxTcpCongestionWindow; |
+ (kDefaultSocketReceiveBuffer * kUsableRecieveBufferFraction) / |
+ kDefaultTCPMSS; |
switch (congestion_control_type) { |
case kCubic: |
return new TcpCubicSender(clock, rtt_stats, false /* don't use Reno */, |