Index: webrtc/modules/congestion_controller/congestion_controller_unittest.cc |
diff --git a/webrtc/modules/congestion_controller/congestion_controller_unittest.cc b/webrtc/modules/congestion_controller/congestion_controller_unittest.cc |
index aa4a5d3330260ba21af47455f6140d63807da18e..1a265824bc4784b5fbbf2db8ee930bc29dc1a02d 100644 |
--- a/webrtc/modules/congestion_controller/congestion_controller_unittest.cc |
+++ b/webrtc/modules/congestion_controller/congestion_controller_unittest.cc |
@@ -10,7 +10,6 @@ |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "webrtc/call/mock/mock_rtc_event_log.h" |
#include "webrtc/modules/pacing/mock/mock_paced_sender.h" |
#include "webrtc/modules/congestion_controller/include/congestion_controller.h" |
#include "webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h" |
@@ -35,9 +34,9 @@ |
pacer_ = new NiceMock<MockPacedSender>(); |
std::unique_ptr<PacedSender> pacer(pacer_); // Passes ownership. |
std::unique_ptr<PacketRouter> packet_router(new PacketRouter()); |
- controller_.reset(new CongestionController( |
- &clock_, &observer_, &remote_bitrate_observer_, &event_log_, |
- std::move(packet_router), std::move(pacer))); |
+ controller_.reset( |
+ new CongestionController(&clock_, &observer_, &remote_bitrate_observer_, |
+ std::move(packet_router), std::move(pacer))); |
bandwidth_observer_.reset( |
controller_->GetBitrateController()->CreateRtcpBandwidthObserver()); |
@@ -52,7 +51,6 @@ |
StrictMock<MockCongestionObserver> observer_; |
NiceMock<MockPacedSender>* pacer_; |
NiceMock<MockRemoteBitrateObserver> remote_bitrate_observer_; |
- MockRtcEventLog event_log_; |
std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; |
std::unique_ptr<CongestionController> controller_; |
const uint32_t kInitialBitrateBps = 60000; |