blob: 7c0c2e917b55f0a6369844345a9cc30612dbf1e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- content/gpu/gpu_child_thread.cc.orig 2023-11-29 21:40:01 UTC
+++ content/gpu/gpu_child_thread.cc
@@ -59,7 +59,7 @@
#include "third_party/skia/include/ports/SkFontConfigInterface.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
@@ -143,7 +143,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce
viz_main_.gpu_service()->set_start_time(process_start_time);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+// XXX BSD
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
SandboxedProcessThreadTypeHandler::NotifyMainChildThreadCreated();
#endif
|