ports/www/chromium/files/patch-remoting_protocol_webrtc__video__stream.cc

11 lines
698 B
C++

--- remoting/protocol/webrtc_video_stream.cc.orig 2023-02-08 09:03:45 UTC
+++ remoting/protocol/webrtc_video_stream.cc
@@ -242,7 +242,7 @@ WebrtcVideoStream::WebrtcVideoStream(const std::string
: stream_name_(stream_name), session_options_(session_options) {
// TODO(joedow): Dig into the threading model on other platforms to see if they
// can also be updated to run on a dedicated thread.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
core_task_runner_ = base::ThreadPool::CreateSingleThreadTaskRunner(
{base::TaskPriority::HIGHEST},
base::SingleThreadTaskRunnerThreadMode::DEDICATED);