diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc index f9e7e018e5..aafab663b7 100644 --- a/webrtc/modules/congestion_controller/congestion_controller.cc +++ b/webrtc/modules/congestion_controller/congestion_controller.cc @@ -168,7 +168,6 @@ CongestionController::~CongestionController() { void CongestionController::SetBweBitrates(int min_bitrate_bps, int start_bitrate_bps, int max_bitrate_bps) { - RTC_DCHECK(config_thread_checker_.CalledOnValidThread()); // TODO(holmer): We should make sure the default bitrates are set to 10 kbps, // and that we don't try to set the min bitrate to 0 from any applications. // The congestion controller should allow a min bitrate of 0. @@ -204,7 +203,6 @@ RemoteBitrateEstimator* CongestionController::GetRemoteBitrateEstimator( TransportFeedbackObserver* CongestionController::GetTransportFeedbackObserver() { - RTC_DCHECK(config_thread_checker_.CalledOnValidThread()); return &transport_feedback_adapter_; } diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h index 2c0b2e3d79..65bf5be3ec 100644 --- a/webrtc/modules/congestion_controller/include/congestion_controller.h +++ b/webrtc/modules/congestion_controller/include/congestion_controller.h @@ -12,7 +12,6 @@ #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ #include "webrtc/base/scoped_ptr.h" -#include "webrtc/base/thread_checker.h" #include "webrtc/modules/include/module.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/pacing/packet_router.h" @@ -69,7 +68,6 @@ class CongestionController : public CallStatsObserver, public Module { private: Clock* const clock_; - rtc::ThreadChecker config_thread_checker_; const rtc::scoped_ptr pacer_; const rtc::scoped_ptr remote_bitrate_estimator_; const rtc::scoped_ptr bitrate_controller_;