aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-content_browser_utility__process__host.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-content_browser_utility__process__host.h')
-rw-r--r--devel/electron33/files/patch-content_browser_utility__process__host.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron33/files/patch-content_browser_utility__process__host.h b/devel/electron33/files/patch-content_browser_utility__process__host.h
new file mode 100644
index 000000000000..c3c262dd65d9
--- /dev/null
+++ b/devel/electron33/files/patch-content_browser_utility__process__host.h
@@ -0,0 +1,20 @@
+--- content/browser/utility_process_host.h.orig 2024-10-28 21:05:18 UTC
++++ content/browser/utility_process_host.h
+@@ -37,7 +37,7 @@ class Thread;
+ class Thread;
+ } // namespace base
+
+-#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)
+ namespace viz {
+ class GpuClient;
+ } // namespace viz
+@@ -244,7 +244,7 @@ class CONTENT_EXPORT UtilityProcessHost
+ };
+ LaunchState launch_state_ = LaunchState::kLaunchInProgress;
+
+-#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)
+ bool allowed_gpu_;
+ std::unique_ptr<viz::GpuClient, base::OnTaskRunnerDeleter> gpu_client_;
+ #endif