aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-content_browser_gpu_gpu__process__host.cc
blob: 5c5dff814ec8a606661d3b4eceec009139476643 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- content/browser/gpu/gpu_process_host.cc.orig	2025-06-30 07:04:30 UTC
+++ content/browser/gpu/gpu_process_host.cc
@@ -274,6 +274,7 @@ static const char* const kSwitchNames[] = {
     switches::kDisableSkiaGraphite,
     switches::kDisableSkiaGraphitePrecompilation,
     switches::kDisableLowEndDeviceMode,
+    switches::kDisableUnveil,
     switches::kProfilingAtStart,
     switches::kProfilingFile,
     switches::kProfilingFlush,
@@ -302,7 +303,7 @@ static const char* const kSwitchNames[] = {
     switches::kEnableNativeGpuMemoryBuffers,
     switches::kRenderNodeOverride,
 #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
     switches::kX11Display,
     switches::kNoXshm,
 #endif