aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc')
-rw-r--r--www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc37
1 files changed, 17 insertions, 20 deletions
diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc b/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
index aff9c080f205..f3ec73f9128b 100644
--- a/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
+++ b/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
@@ -1,22 +1,19 @@
---- content/browser/gpu/gpu_process_host.cc.orig 2021-05-12 22:05:52 UTC
+--- content/browser/gpu/gpu_process_host.cc.orig 2024-04-19 13:02:56 UTC
+++ content/browser/gpu/gpu_process_host.cc
-@@ -231,8 +231,8 @@ static const char* const kSwitchNames[] = {
- 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,
+@@ -264,6 +264,7 @@ static const char* const kSwitchNames[] = {
+ switches::kEnableLowEndDeviceMode,
+ switches::kDisableSkiaGraphite,
+ switches::kDisableLowEndDeviceMode,
++ switches::kDisableUnveil,
+ switches::kProfilingAtStart,
+ switches::kProfilingFile,
+ switches::kProfilingFlush,
+@@ -290,7 +291,7 @@ static const char* const kSwitchNames[] = {
+ switches::kDisableExplicitDmaFences,
+ switches::kOzoneDumpFile,
+ #endif
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ switches::kX11Display,
+ switches::kNoXshm,
#endif
- #if defined(OS_WIN)
-@@ -1177,7 +1177,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) || defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
- int child_flags = gpu_launcher.empty() ? ChildProcessHost::CHILD_ALLOW_SELF
- : ChildProcessHost::CHILD_NORMAL;
- #elif defined(OS_MAC)