Remove thread checker from CongestionController.

R=terelius@webrtc.org

Review URL: https://codereview.webrtc.org/1746683002 .

Cr-Commit-Position: refs/heads/master@{#11808}
This commit is contained in:
Stefan Holmer 2016-02-29 10:42:11 +01:00
parent 7352804849
commit f3ed9d75dd
2 changed files with 0 additions and 4 deletions

View File

@ -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_;
}

View File

@ -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<PacedSender> pacer_;
const rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
const rtc::scoped_ptr<BitrateController> bitrate_controller_;