| Index: remoting/protocol/connection_to_host.cc
|
| diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
|
| index d09eaa1e697690ed560c69900ea1e219bc749032..8bb90191a55741a276ebbf54a1853ba5e9355261 100644
|
| --- a/remoting/protocol/connection_to_host.cc
|
| +++ b/remoting/protocol/connection_to_host.cc
|
| @@ -142,8 +142,9 @@ void ConnectionToHost::OnSessionManagerReady() {
|
| // After SessionManager is initialized we can try to connect to the host.
|
| scoped_ptr<CandidateSessionConfig> candidate_config =
|
| CandidateSessionConfig::CreateDefault();
|
| - if (!audio_stub_)
|
| - CandidateSessionConfig::DisableAudioChannel(candidate_config.get());
|
| + if (!audio_stub_) {
|
| + candidate_config->DisableAudioChannel();
|
| + }
|
|
|
| session_ = session_manager_->Connect(
|
| host_jid_, authenticator_.Pass(), candidate_config.Pass());
|
|
|