Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index 469c5b2849f824a9c2235a1fa705baddafe028b0..4f621c0dfde65c808fbb3ac76c31d9b308baec6b 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -10,6 +10,7 @@ |
#include "base/callback.h" |
#include "base/message_loop/message_loop_proxy.h" |
#include "build/build_config.h" |
+#include "jingle/glue/thread_wrapper.h" |
#include "remoting/base/constants.h" |
#include "remoting/base/logging.h" |
#include "remoting/host/chromoting_host_context.h" |
@@ -86,6 +87,8 @@ ChromotingHost::ChromotingHost( |
DCHECK(network_task_runner_->BelongsToCurrentThread()); |
DCHECK(signal_strategy); |
+ jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); |
+ |
// VP9 encode is not yet supported. |
protocol::CandidateSessionConfig::DisableVideoCodec( |
protocol_config_.get(), protocol::ChannelConfig::CODEC_VP9); |