Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index 4cc660627434707a98eed4932d764f1fad2a7557..0dd25a957dff15bc79fadf0836494b88eae9a6b1 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -272,14 +272,13 @@ void ChromotingHost::OnIncomingSession( |
} else { |
connection.reset(new protocol::IceConnectionToClient( |
base::WrapUnique(session), transport_context_, |
- video_encode_task_runner_)); |
+ video_encode_task_runner_, audio_task_runner_)); |
} |
// Create a ClientSession object. |
- ClientSession* client = |
- new ClientSession(this, audio_task_runner_, std::move(connection), |
- desktop_environment_factory_, max_session_duration_, |
- pairing_registry_, extensions_.get()); |
+ ClientSession* client = new ClientSession( |
+ this, std::move(connection), desktop_environment_factory_, |
+ max_session_duration_, pairing_registry_, extensions_.get()); |
clients_.push_back(client); |
} |