| Index: net/quic/congestion_control/tcp_cubic_sender.cc
|
| diff --git a/net/quic/congestion_control/tcp_cubic_sender.cc b/net/quic/congestion_control/tcp_cubic_sender.cc
|
| index 6cfe0fb7b6d7970316997c7fde51ca2c742c4333..5b24a1f25281a8ba952373c262e5ef38bb25de39 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender.cc
|
| @@ -53,9 +53,9 @@ TcpCubicSender::~TcpCubicSender() {
|
| }
|
|
|
| void TcpCubicSender::SetFromConfig(const QuicConfig& config,
|
| - bool is_server,
|
| + Perspective perspective,
|
| bool using_pacing) {
|
| - if (is_server) {
|
| + if (perspective == Perspective::IS_SERVER) {
|
| if (config.HasReceivedConnectionOptions() &&
|
| ContainsQuicTag(config.ReceivedConnectionOptions(), kIW10)) {
|
| // Initial window experiment.
|
|
|