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

Unified Diff: remoting/host/chromoting_host.cc

Issue 289863008: Initialize Talk thread pointer during ChromotingHost initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/host/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « remoting/host/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698