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

Unified Diff: remoting/protocol/video_frame_pump.cc

Issue 2890833002: Adding ThreadChecker validation to d'tors for protocol classes (Closed)
Patch Set: Created 3 years, 7 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 | « remoting/protocol/monitored_video_stub.cc ('k') | remoting/protocol/webrtc_audio_source_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_frame_pump.cc
diff --git a/remoting/protocol/video_frame_pump.cc b/remoting/protocol/video_frame_pump.cc
index 68324ecbdc8e01863ed2c093334af56c7065085d..da22a2fe8b83eef5c9a6c9ce2706d3356a3b291e 100644
--- a/remoting/protocol/video_frame_pump.cc
+++ b/remoting/protocol/video_frame_pump.cc
@@ -66,6 +66,7 @@ VideoFramePump::VideoFramePump(
}
VideoFramePump::~VideoFramePump() {
+ DCHECK(thread_checker_.CalledOnValidThread());
encode_task_runner_->DeleteSoon(FROM_HERE, encoder_.release());
}
« no previous file with comments | « remoting/protocol/monitored_video_stub.cc ('k') | remoting/protocol/webrtc_audio_source_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698