aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-content_child_child__process.cc
blob: cc3ff09f5dc4daaffb0585ed807a81d3ddff4eb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- content/child/child_process.cc.orig	2024-10-16 21:31:27 UTC
+++ content/child/child_process.cc
@@ -32,7 +32,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
 
@@ -179,7 +179,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;