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

Unified Diff: remoting/client/display/gl_cursor_feedback.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/display/gl_cursor.cc ('k') | remoting/client/display/gl_desktop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/gl_cursor_feedback.cc
diff --git a/remoting/client/display/gl_cursor_feedback.cc b/remoting/client/display/gl_cursor_feedback.cc
index 978042117db3902971d25044c4bf6f436a941313..0e6fbfbf11cacf4ef54a18b5b3fd890c582b5db5 100644
--- a/remoting/client/display/gl_cursor_feedback.cc
+++ b/remoting/client/display/gl_cursor_feedback.cc
@@ -45,7 +45,9 @@ namespace remoting {
GlCursorFeedback::GlCursorFeedback() : weak_factory_(this) {}
-GlCursorFeedback::~GlCursorFeedback() {}
+GlCursorFeedback::~GlCursorFeedback() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+}
void GlCursorFeedback::SetCanvas(base::WeakPtr<Canvas> canvas) {
if (!canvas) {
« no previous file with comments | « remoting/client/display/gl_cursor.cc ('k') | remoting/client/display/gl_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698