aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-content_child_child__process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-content_child_child__process.cc')
-rw-r--r--devel/electron38/files/patch-content_child_child__process.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-content_child_child__process.cc b/devel/electron38/files/patch-content_child_child__process.cc
new file mode 100644
index 000000000000..a49443aba1cc
--- /dev/null
+++ b/devel/electron38/files/patch-content_child_child__process.cc
@@ -0,0 +1,20 @@
+--- content/child/child_process.cc.orig 2025-08-26 20:49:50 UTC
++++ content/child/child_process.cc
+@@ -34,7 +34,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
+
+@@ -192,7 +192,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;