Index: net/quic/quic_connection_test.cc |
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc |
index f76444fa674c1d3f5f0e595c5ff909205a1f15ce..b230fd50eb209ff8a1775a564479346d94f49d82 100644 |
--- a/net/quic/quic_connection_test.cc |
+++ b/net/quic/quic_connection_test.cc |
@@ -4069,7 +4069,9 @@ TEST_P(QuicConnectionTest, NetworkChangeVisitorCallbacksChangeFecState) { |
EXPECT_TRUE(visitor); |
// Increase FEC group size by increasing congestion window to a large number. |
- visitor->OnCongestionWindowChange(1000 * kDefaultTCPMSS); |
+ EXPECT_CALL(*send_algorithm_, GetCongestionWindow()).WillRepeatedly( |
+ Return(1000 * kDefaultTCPMSS)); |
+ visitor->OnCongestionWindowChange(); |
EXPECT_LT(max_packets_per_fec_group, creator->max_packets_per_fec_group()); |
} |