diff options
Diffstat (limited to 'www/chromium/files/patch-content_browser_utility__process__host.cc')
-rw-r--r-- | www/chromium/files/patch-content_browser_utility__process__host.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/www/chromium/files/patch-content_browser_utility__process__host.cc b/www/chromium/files/patch-content_browser_utility__process__host.cc index b584df93de0b..8bc1c8a1aa7a 100644 --- a/www/chromium/files/patch-content_browser_utility__process__host.cc +++ b/www/chromium/files/patch-content_browser_utility__process__host.cc @@ -1,4 +1,4 @@ ---- content/browser/utility_process_host.cc.orig 2020-11-13 06:36:42 UTC +--- content/browser/utility_process_host.cc.orig 2021-03-12 23:57:24 UTC +++ content/browser/utility_process_host.cc @@ -58,7 +58,7 @@ UtilityProcessHost::UtilityProcessHost() @@ -9,3 +9,14 @@ 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) |