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

Unified Diff: remoting/protocol/monitored_video_stub.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/jingle_session.cc ('k') | remoting/protocol/video_frame_pump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/monitored_video_stub.cc
diff --git a/remoting/protocol/monitored_video_stub.cc b/remoting/protocol/monitored_video_stub.cc
index 073d1c5f48d035ddf1a64e023f76184d3c55cdf9..203a8c7c0a82412854d0ae1084ffd85c660c01e5 100644
--- a/remoting/protocol/monitored_video_stub.cc
+++ b/remoting/protocol/monitored_video_stub.cc
@@ -27,6 +27,7 @@ MonitoredVideoStub::MonitoredVideoStub(VideoStub* video_stub,
}
MonitoredVideoStub::~MonitoredVideoStub() {
+ DCHECK(thread_checker_.CalledOnValidThread());
}
void MonitoredVideoStub::ProcessVideoPacket(std::unique_ptr<VideoPacket> packet,
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/video_frame_pump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698