Index: webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc |
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc |
index 62c9f881bc1ef1e92213efc871e6013bc2eddc6c..9b42364cfbe0d31bdada28fdfad0c6ea4c8de5dd 100644 |
--- a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc |
+++ b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc |
@@ -151,7 +151,8 @@ int64_t StreamGenerator::GenerateFrame(std::vector<PacketFeedback>* packets, |
DelayBasedBweTest::DelayBasedBweTest() |
: clock_(100000000), |
acknowledged_bitrate_estimator_( |
- rtc::MakeUnique<AcknowledgedBitrateEstimator>()), |
+ rtc::MakeUnique<AcknowledgedBitrateEstimator>( |
+ rtc::MakeUnique<BitrateEstimatorCreator>())), |
bitrate_estimator_(new DelayBasedBwe(nullptr, &clock_)), |
stream_generator_(new test::StreamGenerator(1e6, // Capacity. |
clock_.TimeInMicroseconds())), |
@@ -184,7 +185,7 @@ void DelayBasedBweTest::IncomingFeedback(int64_t arrival_time_ms, |
sequence_number, payload_size, pacing_info); |
std::vector<PacketFeedback> packets; |
packets.push_back(packet); |
- acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets); |
+ acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets, false); |
DelayBasedBwe::Result result = |
bitrate_estimator_->IncomingPacketFeedbackVector( |
packets, acknowledged_bitrate_estimator_->bitrate_bps()); |
@@ -219,7 +220,7 @@ bool DelayBasedBweTest::GenerateAndProcessFrame(uint32_t ssrc, |
packet.arrival_time_ms += arrival_time_offset_ms_; |
} |
- acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets); |
+ acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets, false); |
DelayBasedBwe::Result result = |
bitrate_estimator_->IncomingPacketFeedbackVector( |
packets, acknowledged_bitrate_estimator_->bitrate_bps()); |