Index: webrtc/common_video/incoming_video_stream.cc |
diff --git a/webrtc/common_video/incoming_video_stream.cc b/webrtc/common_video/incoming_video_stream.cc |
index be16cfbac03e90d714ff6bad6dba05bdd3542676..b1c3191dcc102f91c76a709bd30acd18e8a1657f 100644 |
--- a/webrtc/common_video/incoming_video_stream.cc |
+++ b/webrtc/common_video/incoming_video_stream.cc |
@@ -37,7 +37,7 @@ class IncomingVideoStream::NewFrameTask : public rtc::QueuedTask { |
private: |
bool Run() override { |
- RTC_DCHECK(rtc::TaskQueue::IsCurrent(kIncomingQueueName)); |
+ RTC_DCHECK(stream_->incoming_render_queue_.IsCurrent()); |
if (stream_->render_buffers_.AddFrame(std::move(frame_)) == 1) |
stream_->Dequeue(); |
return true; |