ports/www/ungoogled-chromium/patches/patch-content_child_child_process_cc

13 lines
608 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: content/child/child_process.cc
--- content/child/child_process.cc.orig
+++ content/child/child_process.cc
2024-05-20 13:42:05 +00:00
@@ -66,7 +66,7 @@ ChildProcess::ChildProcess(base::ThreadType io_thread_
thread_pool_init_params)
: resetter_(&child_process, this, nullptr),
2023-08-16 22:26:55 +00:00
io_thread_(std::make_unique<ChildIOThread>()) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
2024-05-20 13:42:05 +00:00
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
2023-08-16 22:26:55 +00:00
const bool is_embedded_in_browser_process =