Index: webrtc/modules/congestion_controller/delay_based_bwe.cc |
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe.cc b/webrtc/modules/congestion_controller/delay_based_bwe.cc |
index 147f2432b21b7100f5c2b3a138c97fe6db060152..f8eafc1e0bf3e26da66479404054d8fcc88150e1 100644 |
--- a/webrtc/modules/congestion_controller/delay_based_bwe.cc |
+++ b/webrtc/modules/congestion_controller/delay_based_bwe.cc |
@@ -74,7 +74,6 @@ DelayBasedBwe::DelayBasedBwe(RtcEventLog* event_log, const Clock* clock) |
last_logged_state_(BandwidthUsage::kBwNormal), |
in_sparse_update_experiment_(BweSparseUpdateExperimentIsEnabled()) { |
LOG(LS_INFO) << "Using Trendline filter for delay change estimation."; |
- network_thread_.DetachFromThread(); |
} |
DelayBasedBwe::~DelayBasedBwe() {} |
@@ -85,7 +84,7 @@ DelayBasedBwe::Result DelayBasedBwe::IncomingPacketFeedbackVector( |
RTC_DCHECK(std::is_sorted(packet_feedback_vector.begin(), |
packet_feedback_vector.end(), |
PacketFeedbackComparator())); |
- RTC_DCHECK(network_thread_.CalledOnValidThread()); |
+ RTC_DCHECK_RUNS_SERIALIZED(&race_checker_); |
// TOOD(holmer): An empty feedback vector here likely means that |
// all acks were too late and that the send time history had |