aboutsummaryrefslogtreecommitdiff
path: root/devel/electron18/files/patch-content_child_child__process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron18/files/patch-content_child_child__process.cc')
-rw-r--r--devel/electron18/files/patch-content_child_child__process.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron18/files/patch-content_child_child__process.cc b/devel/electron18/files/patch-content_child_child__process.cc
new file mode 100644
index 000000000000..8b6b3b02be52
--- /dev/null
+++ b/devel/electron18/files/patch-content_child_child__process.cc
@@ -0,0 +1,11 @@
+--- content/child/child_process.cc.orig 2022-05-19 05:17:42 UTC
++++ content/child/child_process.cc
+@@ -71,7 +71,7 @@ ChildProcess::ChildProcess(base::ThreadPriority io_thr
+ DCHECK(!g_lazy_child_process_tls.Pointer()->Get());
+ g_lazy_child_process_tls.Pointer()->Set(this);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ const base::CommandLine& command_line =
+ *base::CommandLine::ForCurrentProcess();
+ const bool is_embedded_in_browser_process =