| Index: remoting/protocol/connection_to_host.cc
|
| diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
|
| index 53266601bcdd014d73154bca5a4505970ac6eb54..2064077a01a363e06516e6f22fd0c88b4ffd3e8f 100644
|
| --- a/remoting/protocol/connection_to_host.cc
|
| +++ b/remoting/protocol/connection_to_host.cc
|
| @@ -171,8 +171,9 @@ void ConnectionToHost::OnSessionStateChange(
|
|
|
| audio_reader_ = AudioReader::Create(session_->config());
|
| if (audio_reader_.get()) {
|
| - audio_reader_->Init(session_.get(), audio_stub_, base::Bind(
|
| + audio_reader_->Init(session_.get(), base::Bind(
|
| &ConnectionToHost::OnChannelInitialized, base::Unretained(this)));
|
| + audio_reader_->set_audio_stub(audio_stub_);
|
| }
|
|
|
| control_dispatcher_.reset(new ClientControlDispatcher());
|
|
|