| Index: net/quic/congestion_control/tcp_loss_algorithm_test.cc
|
| diff --git a/net/quic/congestion_control/tcp_loss_algorithm_test.cc b/net/quic/congestion_control/tcp_loss_algorithm_test.cc
|
| index 34bcc167a99287b00a27322792fd6baf6980a337..5819fb1249d33708170c399e21781d97093c7257 100644
|
| --- a/net/quic/congestion_control/tcp_loss_algorithm_test.cc
|
| +++ b/net/quic/congestion_control/tcp_loss_algorithm_test.cc
|
| @@ -118,7 +118,7 @@ TEST_F(TcpLossAlgorithmTest, EarlyRetransmit1Packet) {
|
| unacked_packets_.RemoveFromInFlight(2);
|
| unacked_packets_.NackPacket(1, 1);
|
| VerifyLosses(2, nullptr, 0);
|
| - EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt().Multiply(1.25)),
|
| + EXPECT_EQ(clock_.Now().Add(rtt_stats_.smoothed_rtt().Multiply(1.25)),
|
| loss_algorithm_.GetLossTimeout());
|
|
|
| clock_.AdvanceTime(rtt_stats_.latest_rtt().Multiply(1.25));
|
| @@ -133,7 +133,7 @@ TEST_F(TcpLossAlgorithmTest, EarlyRetransmitAllPackets) {
|
| SendDataPacket(i);
|
| // Advance the time 1/4 RTT between 3 and 4.
|
| if (i == 3) {
|
| - clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25));
|
| + clock_.AdvanceTime(rtt_stats_.smoothed_rtt().Multiply(0.25));
|
| }
|
| }
|
|
|
| @@ -148,15 +148,15 @@ TEST_F(TcpLossAlgorithmTest, EarlyRetransmitAllPackets) {
|
| VerifyLosses(kNumSentPackets, lost, arraysize(lost));
|
| // The time has already advanced 1/4 an RTT, so ensure the timeout is set
|
| // 1.25 RTTs after the earliest pending packet(3), not the last(4).
|
| - EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt()),
|
| + EXPECT_EQ(clock_.Now().Add(rtt_stats_.smoothed_rtt()),
|
| loss_algorithm_.GetLossTimeout());
|
|
|
| - clock_.AdvanceTime(rtt_stats_.SmoothedRtt());
|
| + clock_.AdvanceTime(rtt_stats_.smoothed_rtt());
|
| QuicPacketSequenceNumber lost2[] = { 1, 2, 3 };
|
| VerifyLosses(kNumSentPackets, lost2, arraysize(lost2));
|
| - EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt().Multiply(0.25)),
|
| + EXPECT_EQ(clock_.Now().Add(rtt_stats_.smoothed_rtt().Multiply(0.25)),
|
| loss_algorithm_.GetLossTimeout());
|
| - clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25));
|
| + clock_.AdvanceTime(rtt_stats_.smoothed_rtt().Multiply(0.25));
|
| QuicPacketSequenceNumber lost3[] = { 1, 2, 3, 4 };
|
| VerifyLosses(kNumSentPackets, lost3, arraysize(lost3));
|
| EXPECT_EQ(QuicTime::Zero(), loss_algorithm_.GetLossTimeout());
|
|
|