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

Unified Diff: remoting/client/display/fake_canvas.cc

Issue 2886453004: Adding ThreadChecker validation to d'tors for client 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/client/client_telemetry_logger.cc ('k') | remoting/client/display/gl_cursor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/fake_canvas.cc
diff --git a/remoting/client/display/fake_canvas.cc b/remoting/client/display/fake_canvas.cc
index 167fe36b2b46e23966ef35c3f0240a2e8f3dc64b..fb7fde6bdaf5d488ff20103cbad599a4f2393d4c 100644
--- a/remoting/client/display/fake_canvas.cc
+++ b/remoting/client/display/fake_canvas.cc
@@ -8,7 +8,9 @@ namespace remoting {
FakeCanvas::FakeCanvas() : weak_factory_(this) {}
-FakeCanvas::~FakeCanvas() {}
+FakeCanvas::~FakeCanvas() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+}
void FakeCanvas::Clear() {}
« no previous file with comments | « remoting/client/client_telemetry_logger.cc ('k') | remoting/client/display/gl_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698