Fix inverted DCHECK conditional
This fixes a regression added in https://webrtc-review.googlesource.com/c/src/+/119862 Bug: None Change-Id: Ica4157d63da502298a04a35f9ddb7e8b124902e0 Tbr: amithi@webrtc.org No-Try: True Reviewed-on: https://webrtc-review.googlesource.com/c/120301 Commit-Queue: Steve Anton <steveanton@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26435}
This commit is contained in:
@ -120,7 +120,7 @@ void RemoteAudioSource::AddSink(AudioTrackSinkInterface* sink) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rtc::CritScope lock(&sink_lock_);
|
rtc::CritScope lock(&sink_lock_);
|
||||||
RTC_DCHECK(absl::c_linear_search(sinks_, sink));
|
RTC_DCHECK(!absl::c_linear_search(sinks_, sink));
|
||||||
sinks_.push_back(sink);
|
sinks_.push_back(sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user