Index: webrtc/video/rtp_stream_receiver.cc |
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc |
index 90e449c3323a03780e7b09fe5428e16bded178d7..bb2ec7ccfcb4c632742c900de21b8ba78f59ba42 100644 |
--- a/webrtc/video/rtp_stream_receiver.cc |
+++ b/webrtc/video/rtp_stream_receiver.cc |
@@ -185,12 +185,10 @@ RtpStreamReceiver::RtpStreamReceiver( |
// Stats callback for CNAME changes. |
rtp_rtcp_->RegisterRtcpStatisticsCallback(receive_stats_proxy); |
- process_thread_->RegisterModule(rtp_receive_statistics_.get()); |
process_thread_->RegisterModule(rtp_rtcp_.get()); |
} |
RtpStreamReceiver::~RtpStreamReceiver() { |
- process_thread_->DeRegisterModule(rtp_receive_statistics_.get()); |
process_thread_->DeRegisterModule(rtp_rtcp_.get()); |
packet_router_->RemoveRtpModule(rtp_rtcp_.get()); |