forked from Lainports/opnsense-ports
20 lines
824 B
C++
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
|