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 82f113582a689fd8823f2338a80731832647a285..deeaf8c07d103950e2517ce00ff1c2307bd30e2b 100644 |
--- a/net/quic/congestion_control/send_algorithm_interface.cc |
+++ b/net/quic/congestion_control/send_algorithm_interface.cc |
@@ -21,17 +21,15 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create( |
switch (congestion_control_type) { |
case kCubic: |
return new TcpCubicSender(clock, rtt_stats, false /* don't use Reno */, |
- initial_congestion_window, |
- kMaxTcpCongestionWindow, stats); |
+ initial_congestion_window, stats); |
case kReno: |
return new TcpCubicSender(clock, rtt_stats, true /* use Reno */, |
- initial_congestion_window, |
- kMaxTcpCongestionWindow, stats); |
+ initial_congestion_window, stats); |
case kBBR: |
// TODO(rtenneti): Enable BbrTcpSender. |
#if 0 |
return new BbrTcpSender(clock, rtt_stats, initial_congestion_window, |
- kMaxTcpCongestionWindow, stats); |
+ stats); |
#endif |
LOG(DFATAL) << "BbrTcpSender is not supported."; |
return nullptr; |