mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 11:33:15 -04:00
with these changes, chromium now automatically selects which audio backend to use in the following order: pulse (if running) -> sndio -> alsa -> fake an additional command line option has been also implemented so that the user can force which backend to use: --audio-backend={auto,sndio,pulse,alsa} Security: https://vuxml.freebsd.org/freebsd/8247af0d-183b-11ef-9f97-a8a1599412c6.html PR: 246449
20 lines
827 B
C++
20 lines
827 B
C++
--- content/browser/utility_process_host.h.orig 2024-05-21 18:07:39 UTC
|
|
+++ content/browser/utility_process_host.h
|
|
@@ -33,7 +33,7 @@ namespace base {
|
|
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
|
|
@@ -200,7 +200,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
|