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

Unified Diff: remoting/client/display/gl_desktop.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_desktop.h
diff --git a/remoting/client/display/gl_desktop.h b/remoting/client/display/gl_desktop.h
index 164ecc2d63f66134abd81a88a19f3dbdb177aa25..30ad25efe4fcfcecd6bdac53ce4d09223c06e210 100644
--- a/remoting/client/display/gl_desktop.h
+++ b/remoting/client/display/gl_desktop.h
@@ -47,7 +47,7 @@ class GlDesktop : public Drawable {
webrtc::DesktopSize last_desktop_size_;
int max_texture_size_ = 0;
base::WeakPtr<Canvas> canvas_ = nullptr;
- base::ThreadChecker thread_checker_;
+ base::WeakPtr<Drawable> weak_ptr_;
base::WeakPtrFactory<Drawable> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(GlDesktop);

Powered by Google App Engine
This is Rietveld 408576698