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

Unified Diff: remoting/client/display/gl_cursor_feedback.h

Issue 2623413004: [Remoting Android] Fix thread issue with OpenGL drawable (Closed)
Patch Set: PTAL Point Created 3 years, 11 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
Index: remoting/client/display/gl_cursor_feedback.h
diff --git a/remoting/client/display/gl_cursor_feedback.h b/remoting/client/display/gl_cursor_feedback.h
index 70876e803007799b0d38af27c3d7e8a36ecccc54..25e2f9abda3e103664d743d1bfb3793fde3bcef4 100644
--- a/remoting/client/display/gl_cursor_feedback.h
+++ b/remoting/client/display/gl_cursor_feedback.h
@@ -41,7 +41,7 @@ class GlCursorFeedback : public Drawable {
float cursor_y_ = 0;
base::TimeTicks animation_start_time_;
- base::ThreadChecker thread_checker_;
+ base::WeakPtr<Drawable> weak_ptr_;
base::WeakPtrFactory<Drawable> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(GlCursorFeedback);

Powered by Google App Engine
This is Rietveld 408576698