Index: net/quic/core/quic_sent_packet_manager.cc |
diff --git a/net/quic/core/quic_sent_packet_manager.cc b/net/quic/core/quic_sent_packet_manager.cc |
index ce4ca59e516e9f3898f064e2b79f28115c8c33e3..022ce3eccc5687843b0052b6e70234721cfe0fbd 100644 |
--- a/net/quic/core/quic_sent_packet_manager.cc |
+++ b/net/quic/core/quic_sent_packet_manager.cc |
@@ -123,11 +123,7 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) { |
} |
} else if (config.HasClientRequestedIndependentOption(kBYTE, |
perspective_)) { |
- if (FLAGS_quic_default_enable_cubic_bytes) { |
- SetSendAlgorithm(kCubic); |
- } else { |
- SetSendAlgorithm(kCubicBytes); |
- } |
+ SetSendAlgorithm(kCubic); |
} |
} else { |
if (FLAGS_quic_allow_new_bbr && config.HasReceivedConnectionOptions() && |
@@ -143,11 +139,7 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) { |
} |
} else if (config.HasReceivedConnectionOptions() && |
ContainsQuicTag(config.ReceivedConnectionOptions(), kBYTE)) { |
- if (FLAGS_quic_default_enable_cubic_bytes) { |
- SetSendAlgorithm(kCubic); |
- } else { |
- SetSendAlgorithm(kCubicBytes); |
- } |
+ SetSendAlgorithm(kCubic); |
} |
} |
using_pacing_ = !FLAGS_quic_disable_pacing_for_perf_tests; |