diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2020-12-01 04:06:37 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2020-12-01 04:06:37 +0000 |
commit | a0dbfe2fb016ec18b858d0857d8c3ce21662d29c (patch) | |
tree | 0454226a8e0acc85a44cfa5e09502134947dbdef /www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc | |
parent | e5c06c3d469efbf9ebf06547ef5b2694260b981f (diff) | |
download | ports-a0dbfe2fb016ec18b858d0857d8c3ce21662d29c.tar.gz ports-a0dbfe2fb016ec18b858d0857d8c3ce21662d29c.zip |
Notes
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 0fb5aae10f9f..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-09-08 19:14:05 UTC +--- content/browser/gpu/gpu_process_host.cc.orig 2020-11-13 06:36:42 UTC +++ content/browser/gpu/gpu_process_host.cc -@@ -220,7 +220,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) -@@ -1117,7 +1117,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) |