Index: webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc |
index ea50ffa8dd8ae4df36bd2e12e0e28b2c9656ca59..394fa688491277b6a5b90d16178f106675feb368 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "webrtc/common_types.h" |
#include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" |
#include "webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h" |
+#include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h" |
#include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h" |
#include "webrtc/modules/rtp_rtcp/source/rtcp_sender.h" |
#include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" |
@@ -67,12 +68,10 @@ class RtcpFormatRembTest : public ::testing::Test { |
system_clock_(Clock::GetRealTimeClock()), |
receive_statistics_(ReceiveStatistics::Create(system_clock_)), |
remote_bitrate_observer_(), |
- remote_bitrate_estimator_( |
- RemoteBitrateEstimatorFactory().Create( |
- &remote_bitrate_observer_, |
- system_clock_, |
- kMimdControl, |
- kRemoteBitrateEstimatorMinBitrateBps)) {} |
+ remote_bitrate_estimator_(new RemoteBitrateEstimatorSingleStream( |
+ &remote_bitrate_observer_, |
+ system_clock_, |
+ kRemoteBitrateEstimatorMinBitrateBps)) {} |
void SetUp() override; |
void TearDown() override; |