pkgsrc-wip/chromium/patches/patch-content_browser_gpu_g...

14 lines
579 B
C++

$NetBSD$
--- content/browser/gpu/gpu_process_host.cc.orig 2020-07-08 21:41:48.000000000 +0000
+++ content/browser/gpu/gpu_process_host.cc
@@ -1117,7 +1117,7 @@ bool GpuProcessHost::LaunchGpuProcess()
std::unique_ptr<base::CommandLine> cmd_line =
std::make_unique<base::CommandLine>(base::CommandLine::NO_PROGRAM);
#else
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
int child_flags = gpu_launcher.empty() ? ChildProcessHost::CHILD_ALLOW_SELF
: ChildProcessHost::CHILD_NORMAL;
#elif defined(OS_MACOSX)