Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: webrtc/common_video/incoming_video_stream.cc

Issue 3004873002: Delete static method TaskQueue::IsCurrent. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/rtc_base/task_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | webrtc/rtc_base/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698