opnsense-ports/devel/electron32/files/patch-content_browser_utility__process__host.h
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

20 lines
824 B
C++

--- content/browser/utility_process_host.h.orig 2024-06-30 11:48:30 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
@@ -234,7 +234,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