Chromium Code Reviews| Index: remoting/host/chromoting_host_context.cc |
| diff --git a/remoting/host/chromoting_host_context.cc b/remoting/host/chromoting_host_context.cc |
| index 5e9ff7651bbabbd3461f83595bca585df582983c..c9aba5efdeb70eb39315eaac708948dc47c74c5a 100644 |
| --- a/remoting/host/chromoting_host_context.cc |
| +++ b/remoting/host/chromoting_host_context.cc |
| @@ -29,7 +29,9 @@ ChromotingHostContext::~ChromotingHostContext() { |
| bool ChromotingHostContext::Start() { |
| // Start all the threads. |
| bool started = main_thread_.Start() && encode_thread_.Start() && |
| - jingle_thread_.Start() && desktop_thread_.Start() && |
| + jingle_thread_.Start() && |
| + desktop_thread_.StartWithOptions( |
| + base::Thread::Options(MessageLoop::TYPE_UI, 0)) && |
|
Sergey Ulanov
2012/05/11 21:10:11
On some platforms (mac and linux) it might be unsa
simonmorris
2012/05/11 22:12:58
Sounds good to me. But it'd be better to consult m
Wez
2012/05/15 18:40:02
As Sergey points out, we can only have multiple UI
|
| io_thread_.StartWithOptions( |
| base::Thread::Options(MessageLoop::TYPE_IO, 0)) && |
| file_thread_.StartWithOptions( |