Index: webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc |
index 338c4d8e4d38f8d95da4fddf665247a70c301c02..df6228283633d1345efbc1b54fcdf3772f89b82f 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc |
@@ -13,6 +13,7 @@ |
#include <algorithm> |
#include "webrtc/base/logging.h" |
+#include "webrtc/base/ptr_util.h" |
#include "webrtc/modules/congestion_controller/delay_based_bwe.h" |
#include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
@@ -29,7 +30,9 @@ SendSideBweSender::SendSideBweSender(int kbps, |
BitrateController::CreateBitrateController(clock, |
observer, |
&event_log_)), |
- bwe_(new DelayBasedBwe(nullptr, clock)), |
+ incoming_bitrate_estimator_(rtc::MakeUnique<IncomingBitrateEstimator>()), |
+ bwe_( |
+ new DelayBasedBwe(nullptr, incoming_bitrate_estimator_.get(), clock)), |
feedback_observer_(bitrate_controller_->CreateRtcpBandwidthObserver()), |
clock_(clock), |
send_time_history_(clock_, 10000), |