Index: net/quic/congestion_control/tcp_cubic_sender_test.cc |
diff --git a/net/quic/congestion_control/tcp_cubic_sender_test.cc b/net/quic/congestion_control/tcp_cubic_sender_test.cc |
index ab5fcdbc36b53660b760289d383ad6cb17d5aeba..1baffb0bcdbd0333f843795656c71325a626ffc8 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender_test.cc |
+++ b/net/quic/congestion_control/tcp_cubic_sender_test.cc |
@@ -501,8 +501,7 @@ TEST_F(TcpCubicSenderTest, ConfigureMaxInitialWindow) { |
QuicTagVector options; |
options.push_back(kIW10); |
QuicConfigPeer::SetReceivedConnectionOptions(&config, options); |
- sender_->SetFromConfig(config, |
- /* is_server= */ true, |
+ sender_->SetFromConfig(config, Perspective::IS_SERVER, |
/* using_pacing= */ false); |
EXPECT_EQ(10u, sender_->congestion_window()); |
} |
@@ -511,8 +510,7 @@ TEST_F(TcpCubicSenderTest, DisableAckTrainDetectionWithPacing) { |
EXPECT_TRUE(sender_->hybrid_slow_start().ack_train_detection()); |
QuicConfig config; |
- sender_->SetFromConfig(config, |
- /* is_server= */ true, |
+ sender_->SetFromConfig(config, Perspective::IS_SERVER, |
/* using_pacing= */ true); |
EXPECT_FALSE(sender_->hybrid_slow_start().ack_train_detection()); |
} |