diff options
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.cc | 19 |
1 files changed, 5 insertions, 14 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 76e451bc26d3..9f89b4fa5583 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,20 +1,11 @@ ---- content/browser/gpu/gpu_process_host.cc.orig 2020-07-07 21:58:15 UTC +--- content/browser/gpu/gpu_process_host.cc.orig 2020-11-13 06:36:42 UTC +++ content/browser/gpu/gpu_process_host.cc -@@ -215,7 +215,7 @@ static const char* const kSwitchNames[] = { - service_manager::switches::kGpuSandboxFailuresFatal, - service_manager::switches::kDisableGpuSandbox, - service_manager::switches::kNoSandbox, --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) - switches::kDisableDevShmUsage, - #endif - #if defined(OS_WIN) -@@ -1094,7 +1094,7 @@ bool GpuProcessHost::LaunchGpuProcess() { +@@ -1127,7 +1127,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) -+#if defined(OS_LINUX) || defined(OS_BSD) +-#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_MACOSX) + #elif defined(OS_MAC) |