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

Unified Diff: remoting/client/display/gl_cursor.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
« no previous file with comments | « no previous file | remoting/client/display/gl_cursor.cc » ('j') | remoting/client/display/gl_cursor.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/gl_cursor.h
diff --git a/remoting/client/display/gl_cursor.h b/remoting/client/display/gl_cursor.h
index 07997e064b649ed363044e84989cad06b3f437c3..9751f6f24ba97f026bd9efc45413a180636180da 100644
--- a/remoting/client/display/gl_cursor.h
+++ b/remoting/client/display/gl_cursor.h
@@ -61,7 +61,7 @@ class GlCursor : public Drawable {
float cursor_x_ = 0;
float cursor_y_ = 0;
- base::ThreadChecker thread_checker_;
Yuwei 2017/01/13 01:29:00 Removed thread_checker_ entirely since it's only u
Sergey Ulanov 2017/01/13 02:03:10 It still can be useful, even if used in one place:
Sergey Ulanov 2017/01/13 02:06:19 Also, why is it called only in Draw()? Is there an
Yuwei 2017/01/13 02:21:08 I don't know... Scott may know better O_o
joedow 2017/01/13 16:09:34 Threadchecker was added to ensure the WeakPtr() wa
nicholss 2017/01/13 16:45:01 For the current usage, these classes could get awa
+ base::WeakPtr<Drawable> weak_ptr_;
base::WeakPtrFactory<Drawable> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(GlCursor);
« no previous file with comments | « no previous file | remoting/client/display/gl_cursor.cc » ('j') | remoting/client/display/gl_cursor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698