1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- content/browser/gpu/gpu_process_host.cc.orig 2022-02-28 16:54:41 UTC
+++ content/browser/gpu/gpu_process_host.cc
@@ -100,7 +100,7 @@
#include "ui/ozone/public/ozone_switches.h"
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/gfx/switches.h"
#endif
@@ -252,6 +252,7 @@ static const char* const kSwitchNames[] = {
switches::kEnableBackgroundThreadPool,
switches::kEnableGpuRasterization,
switches::kEnableLogging,
+ switches::kDisableUnveil,
switches::kEnableDeJelly,
switches::kDeJellyScreenWidth,
switches::kDocumentTransitionSlowdownFactor,
@@ -289,7 +290,7 @@ static const char* const kSwitchNames[] = {
switches::kOzoneDumpFile,
switches::kDisableBufferBWCompression,
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
switches::kX11Display,
switches::kNoXshm,
#endif
|