aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-content_browser_utility__process__host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron12/files/patch-content_browser_utility__process__host.cc')
-rw-r--r--devel/electron12/files/patch-content_browser_utility__process__host.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/electron12/files/patch-content_browser_utility__process__host.cc b/devel/electron12/files/patch-content_browser_utility__process__host.cc
deleted file mode 100644
index 05fc6f49f5b5..000000000000
--- a/devel/electron12/files/patch-content_browser_utility__process__host.cc
+++ /dev/null
@@ -1,22 +0,0 @@
---- content/browser/utility_process_host.cc.orig 2021-04-14 01:08:48 UTC
-+++ content/browser/utility_process_host.cc
-@@ -58,7 +58,7 @@ UtilityProcessHost::UtilityProcessHost()
-
- UtilityProcessHost::UtilityProcessHost(std::unique_ptr<Client> client)
- : sandbox_type_(sandbox::policy::SandboxType::kUtility),
--#if defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
- child_flags_(ChildProcessHost::CHILD_ALLOW_SELF),
- #else
- child_flags_(ChildProcessHost::CHILD_NORMAL),
-@@ -227,8 +227,8 @@ bool UtilityProcessHost::StartProcess() {
- sandbox::policy::switches::kNoSandbox,
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \
-- !BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if defined(OS_BSD) || (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \
-+ !BUILDFLAG(IS_CHROMEOS_LACROS))
- switches::kDisableDevShmUsage,
- #endif
- #if defined(OS_MAC)