Index: webrtc/modules/congestion_controller/congestion_controller.cc |
diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc |
index 0282e8148e9f5c8274ff88dfda56f6577d014b5f..50074d50e4477e4bf4be435755b83abda7cd4e81 100644 |
--- a/webrtc/modules/congestion_controller/congestion_controller.cc |
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc |
@@ -147,7 +147,6 @@ CongestionController::CongestionController( |
0)), |
remote_bitrate_estimator_( |
new WrappingBitrateEstimator(remote_bitrate_observer, clock_)), |
- pacer_thread_(ProcessThread::Create("PacerThread")), |
// Constructed last as this object calls the provided callback on |
// construction. |
bitrate_controller_( |
@@ -160,15 +159,9 @@ CongestionController::CongestionController( |
clock_)); |
transport_feedback_adapter_.GetBitrateEstimator()->SetMinBitrate( |
min_bitrate_bps_); |
- pacer_thread_->RegisterModule(pacer_.get()); |
- pacer_thread_->RegisterModule(&remote_estimator_proxy_); |
- pacer_thread_->Start(); |
} |
CongestionController::~CongestionController() { |
- pacer_thread_->Stop(); |
- pacer_thread_->DeRegisterModule(pacer_.get()); |
- pacer_thread_->DeRegisterModule(&remote_estimator_proxy_); |
} |