Files
ports/devel/electron43/files/patch-content_utility_utility__thread__impl.cc
2026-10-04 04:07:15 +00:00

22 lines
778 B
C++

--- content/utility/utility_thread_impl.cc.orig 2026-06-23 23:37:18 UTC
+++ content/utility/utility_thread_impl.cc
@@ -30,7 +30,7 @@
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/service_factory.h"
-#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
@@ -250,7 +250,8 @@ void UtilityThreadImpl::Init() {
GetContentClient()->utility()->UtilityThreadStarted();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+// XXX BSD
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
SandboxedProcessThreadTypeHandler::NotifyMainChildThreadCreated();
#endif