| 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..479ecb457b30b19f7cb4a02475ad19f1bcad6f17 100644
|
| --- a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc
|
| +++ b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc
|
| @@ -14,7 +14,6 @@
|
| #include <utility>
|
|
|
| #include "webrtc/base/checks.h"
|
| -#include "webrtc/base/ptr_util.h"
|
| #include "webrtc/modules/congestion_controller/delay_based_bwe.h"
|
|
|
| namespace webrtc {
|
| @@ -150,8 +149,6 @@
|
|
|
| DelayBasedBweTest::DelayBasedBweTest()
|
| : clock_(100000000),
|
| - acknowledged_bitrate_estimator_(
|
| - rtc::MakeUnique<AcknowledgedBitrateEstimator>()),
|
| bitrate_estimator_(new DelayBasedBwe(nullptr, &clock_)),
|
| stream_generator_(new test::StreamGenerator(1e6, // Capacity.
|
| clock_.TimeInMicroseconds())),
|
| @@ -184,10 +181,8 @@
|
| sequence_number, payload_size, pacing_info);
|
| std::vector<PacketFeedback> packets;
|
| packets.push_back(packet);
|
| - acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets);
|
| DelayBasedBwe::Result result =
|
| - bitrate_estimator_->IncomingPacketFeedbackVector(
|
| - packets, acknowledged_bitrate_estimator_->bitrate_bps());
|
| + bitrate_estimator_->IncomingPacketFeedbackVector(packets);
|
| const uint32_t kDummySsrc = 0;
|
| if (result.updated) {
|
| bitrate_observer_.OnReceiveBitrateChanged({kDummySsrc},
|
| @@ -218,11 +213,8 @@
|
| RTC_CHECK_GE(packet.arrival_time_ms + arrival_time_offset_ms_, 0);
|
| packet.arrival_time_ms += arrival_time_offset_ms_;
|
| }
|
| -
|
| - acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets);
|
| DelayBasedBwe::Result result =
|
| - bitrate_estimator_->IncomingPacketFeedbackVector(
|
| - packets, acknowledged_bitrate_estimator_->bitrate_bps());
|
| + bitrate_estimator_->IncomingPacketFeedbackVector(packets);
|
| const uint32_t kDummySsrc = 0;
|
| if (result.updated) {
|
| bitrate_observer_.OnReceiveBitrateChanged({kDummySsrc},
|
|
|