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

Unified Diff: remoting/client/jni/jni_display_handler.h

Issue 2142253002: [Remoting Android] Fix GetWeakPtr() calls on multiple threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/jni/jni_client.cc ('k') | remoting/client/jni/jni_display_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_display_handler.h
diff --git a/remoting/client/jni/jni_display_handler.h b/remoting/client/jni/jni_display_handler.h
index e62d354d0f6c0e059e5d35d8d0226481784ca882..96d347dee62cc56d017a1c18be1452c7752b49d0 100644
--- a/remoting/client/jni/jni_display_handler.h
+++ b/remoting/client/jni/jni_display_handler.h
@@ -60,6 +60,7 @@ class JniDisplayHandler : public DisplayUpdaterFactory {
ChromotingJniRuntime* runtime_;
base::android::ScopedJavaGlobalRef<jobject> java_display_;
+ base::WeakPtr<JniDisplayHandler> weak_ptr_;
base::WeakPtrFactory<JniDisplayHandler> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(JniDisplayHandler);
« no previous file with comments | « remoting/client/jni/jni_client.cc ('k') | remoting/client/jni/jni_display_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698