blob: 9a556daca4415ed960fa2b94260fdc9513fb23e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- remoting/host/chromoting_host_context.cc.orig 2021-12-14 11:45:09 UTC
+++ remoting/host/chromoting_host_context.cc
@@ -143,11 +143,11 @@ std::unique_ptr<ChromotingHostContext> ChromotingHostC
// on a UI thread.
scoped_refptr<AutoThreadTaskRunner> input_task_runner =
AutoThread::CreateWithType("ChromotingInputThread", ui_task_runner,
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
base::MessagePumpType::UI);
#else
base::MessagePumpType::IO);
-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
return base::WrapUnique(new ChromotingHostContext(
ui_task_runner, audio_task_runner, file_task_runner, input_task_runner,
|