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

20 lines
717 B
C++

--- content/child/child_process.cc.orig 2025-04-04 08:52:13 UTC
+++ content/child/child_process.cc
@@ -31,7 +31,7 @@
#include "content/common/android/cpu_time_metrics.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
@@ -177,7 +177,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th
main_thread_.reset(thread);
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
void ChildProcess::SetIOThreadType(base::ThreadType thread_type) {
if (!io_thread_) {
return;