| Index: remoting/host/chromoting_host_context.cc
|
| diff --git a/remoting/host/chromoting_host_context.cc b/remoting/host/chromoting_host_context.cc
|
| index 9c42eb56fcbecc7c3d94592575637707de10fd77..2f394ac948195a5ee5630e9ec64639b9cf8098b2 100644
|
| --- a/remoting/host/chromoting_host_context.cc
|
| +++ b/remoting/host/chromoting_host_context.cc
|
| @@ -18,22 +18,24 @@ ChromotingHostContext::ChromotingHostContext(
|
| #if defined(OS_WIN)
|
| // On Windows the AudioCapturer requires COM, so we run a single-threaded
|
| // apartment, which requires a UI thread.
|
| - audio_task_runner_ = AutoThread::CreateWithLoopAndComInitTypes(
|
| - "ChromotingAudioThread", ui_task_runner_, MessageLoop::TYPE_UI,
|
| - AutoThread::COM_INIT_STA);
|
| + audio_task_runner_ =
|
| + AutoThread::CreateWithLoopAndComInitTypes("ChromotingAudioThread",
|
| + ui_task_runner_,
|
| + base::MessageLoop::TYPE_UI,
|
| + AutoThread::COM_INIT_STA);
|
| #else // !defined(OS_WIN)
|
| audio_task_runner_ = AutoThread::CreateWithType(
|
| - "ChromotingAudioThread", ui_task_runner_, MessageLoop::TYPE_IO);
|
| -#endif // !defined(OS_WIN)
|
| + "ChromotingAudioThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
|
| +#endif // !defined(OS_WIN)
|
|
|
| file_task_runner_ = AutoThread::CreateWithType(
|
| - "ChromotingFileThread", ui_task_runner_, MessageLoop::TYPE_IO);
|
| + "ChromotingFileThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
|
| input_task_runner_ = AutoThread::CreateWithType(
|
| - "ChromotingInputThread", ui_task_runner_, MessageLoop::TYPE_IO);
|
| + "ChromotingInputThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
|
| network_task_runner_ = AutoThread::CreateWithType(
|
| - "ChromotingNetworkThread", ui_task_runner_, MessageLoop::TYPE_IO);
|
| - video_capture_task_runner_ = AutoThread::Create(
|
| - "ChromotingCaptureThread", ui_task_runner_);
|
| + "ChromotingNetworkThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
|
| + video_capture_task_runner_ =
|
| + AutoThread::Create("ChromotingCaptureThread", ui_task_runner_);
|
| video_encode_task_runner_ = AutoThread::Create(
|
| "ChromotingEncodeThread", ui_task_runner_);
|
|
|
|
|