Index: remoting/client/plugin/chromoting_instance.cc |
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
index 4f07f25816ec3b3faa01dc311afaa64f5dcb4d32..db8dc0205dffd3942f32a195bcdd34e02d554323 100644 |
--- a/remoting/client/plugin/chromoting_instance.cc |
+++ b/remoting/client/plugin/chromoting_instance.cc |
@@ -467,7 +467,7 @@ void ChromotingInstance::OnFirstFrameReceived() { |
void ChromotingInstance::Connect(const ClientConfig& config) { |
DCHECK(plugin_task_runner_->BelongsToCurrentThread()); |
- jingle_glue::JingleThreadWrapper::EnsureForCurrentThread(); |
+ jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); |
host_connection_.reset(new protocol::ConnectionToHost(true)); |
scoped_ptr<AudioPlayer> audio_player(new PepperAudioPlayer(this)); |