aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_utility__process__host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_browser_utility__process__host.cc')
-rw-r--r--www/chromium/files/patch-content_browser_utility__process__host.cc17
1 files changed, 13 insertions, 4 deletions
diff --git a/www/chromium/files/patch-content_browser_utility__process__host.cc b/www/chromium/files/patch-content_browser_utility__process__host.cc
index 3276fdb7b82f..61d6657762f5 100644
--- a/www/chromium/files/patch-content_browser_utility__process__host.cc
+++ b/www/chromium/files/patch-content_browser_utility__process__host.cc
@@ -1,4 +1,4 @@
---- content/browser/utility_process_host.cc.orig 2024-03-22 08:19:40 UTC
+--- content/browser/utility_process_host.cc.orig 2024-04-19 13:02:56 UTC
+++ content/browser/utility_process_host.cc
@@ -61,7 +61,7 @@
#include "content/browser/v8_snapshot_files.h"
@@ -33,10 +33,19 @@
file_data_(std::make_unique<ChildProcessLauncherFileData>()),
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+ allowed_gpu_(false),
gpu_client_(nullptr, base::OnTaskRunnerDeleter(nullptr)),
#endif
- client_(std::move(client)) {
-@@ -431,7 +431,7 @@ bool UtilityProcessHost::StartProcess() {
+@@ -234,7 +234,7 @@ void UtilityProcessHost::SetPinUser32() {
+ #endif // BUILDFLAG(IS_WIN)
+
+ void UtilityProcessHost::SetAllowGpuClient() {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+ allowed_gpu_ = true;
+ #endif
+ }
+@@ -434,7 +434,7 @@ bool UtilityProcessHost::StartProcess() {
file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload());
#endif // BUILDFLAG(IS_POSIX)
@@ -45,7 +54,7 @@
// The network service should have access to the parent directories
// necessary for its usage.
if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
-@@ -442,13 +442,13 @@ bool UtilityProcessHost::StartProcess() {
+@@ -445,13 +445,13 @@ bool UtilityProcessHost::StartProcess() {
}
#endif // BUILDFLAG(IS_LINUX)