Chromium Code Reviews| 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); |