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

Unified Diff: remoting/client/jni/chromoting_jni_instance.cc

Issue 19967007: Various improvements to the Chromoting Android app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | remoting/client/jni/jni_frame_consumer.h » ('j') | remoting/client/jni/jni_frame_consumer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/chromoting_jni_instance.cc
diff --git a/remoting/client/jni/chromoting_jni_instance.cc b/remoting/client/jni/chromoting_jni_instance.cc
index fcb4db332dbba13e7549317a654f05376da11889..5fa679e49c7f1fab52db8a1d264a88e52882e95e 100644
--- a/remoting/client/jni/chromoting_jni_instance.cc
+++ b/remoting/client/jni/chromoting_jni_instance.cc
@@ -169,7 +169,7 @@ void ChromotingJniInstance::ConnectToHostOnDisplayThread() {
frame_consumer_ = new FrameConsumerProxy(
ChromotingJni::GetInstance()->display_task_runner());
- view_.reset(new JniFrameConsumer());
+ view_.reset(new JniFrameConsumer(ChromotingJni::GetInstance()));
view_weak_factory_.reset(new base::WeakPtrFactory<JniFrameConsumer>(
view_.get()));
frame_consumer_->Attach(view_weak_factory_->GetWeakPtr());
« no previous file with comments | « no previous file | remoting/client/jni/jni_frame_consumer.h » ('j') | remoting/client/jni/jni_frame_consumer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698