| Index: net/quic/core/quic_connection.cc
|
| diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
|
| index 6fe21cf33f6a76093dfe9f94f58e0e909d943b1f..41ca54bcb3b7b6e59bf7236833e7913947035cbb 100644
|
| --- a/net/quic/core/quic_connection.cc
|
| +++ b/net/quic/core/quic_connection.cc
|
| @@ -265,13 +265,14 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
|
| time_of_last_sent_new_packet_(clock_->ApproximateNow()),
|
| last_send_for_timeout_(clock_->ApproximateNow()),
|
| packet_number_of_last_sent_packet_(0),
|
| - sent_packet_manager_(new QuicSentPacketManager(perspective,
|
| - kDefaultPathId,
|
| - clock_,
|
| - &stats_,
|
| - kCubic,
|
| - kNack,
|
| - /*delegate=*/nullptr)),
|
| + sent_packet_manager_(new QuicSentPacketManager(
|
| + perspective,
|
| + kDefaultPathId,
|
| + clock_,
|
| + &stats_,
|
| + FLAGS_quic_default_enable_cubic_bytes ? kCubicBytes : kCubic,
|
| + kNack,
|
| + /*delegate=*/nullptr)),
|
| version_negotiation_state_(START_NEGOTIATION),
|
| perspective_(perspective),
|
| connected_(true),
|
|
|