| Index: remoting/client/plugin/chromoting_instance.cc
|
| diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
|
| index 6dc05c76db606a17f5adf98d07f3143d7d488c35..a04753ef3287688bdd09c836d4cb2b61e62df444 100644
|
| --- a/remoting/client/plugin/chromoting_instance.cc
|
| +++ b/remoting/client/plugin/chromoting_instance.cc
|
| @@ -206,7 +206,7 @@ bool ChromotingInstance::Init(uint32_t argc,
|
| scoped_refptr<FrameConsumerProxy> consumer_proxy =
|
| new FrameConsumerProxy(plugin_message_loop_);
|
| rectangle_decoder_ = new RectangleUpdateDecoder(
|
| - context_.decode_message_loop(), consumer_proxy);
|
| + context_.decode_task_runner(), consumer_proxy);
|
| view_.reset(new PepperView(this, &context_, rectangle_decoder_.get()));
|
| consumer_proxy->Attach(view_->AsWeakPtr());
|
|
|
| @@ -403,8 +403,7 @@ void ChromotingInstance::Connect(const ClientConfig& config) {
|
|
|
| host_connection_.reset(new protocol::ConnectionToHost(true));
|
| client_.reset(new ChromotingClient(config, &context_, host_connection_.get(),
|
| - view_.get(), rectangle_decoder_.get(),
|
| - base::Closure()));
|
| + view_.get(), rectangle_decoder_.get()));
|
|
|
| // Construct the input pipeline
|
| mouse_input_filter_.reset(
|
| @@ -431,8 +430,7 @@ void ChromotingInstance::Connect(const ClientConfig& config) {
|
| // Setup the XMPP Proxy.
|
| xmpp_proxy_ = new PepperXmppProxy(
|
| base::Bind(&ChromotingInstance::SendOutgoingIq, AsWeakPtr()),
|
| - plugin_message_loop_,
|
| - context_.network_message_loop());
|
| + plugin_message_loop_, context_.main_task_runner());
|
|
|
| scoped_ptr<cricket::HttpPortAllocatorBase> port_allocator(
|
| PepperPortAllocator::Create(this));
|
|
|