ports/www/chromium/files/patch-ui_compositor_compositor.h
Robert Nagy 6acad34cb2 www/chromium: update to 125.0.6422.76 and implement selectable audio backend support
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
2024-05-22 15:26:15 +02:00

11 lines
477 B
C

--- ui/compositor/compositor.h.orig 2024-05-21 18:07:39 UTC
+++ ui/compositor/compositor.h
@@ -456,7 +456,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe
// base::PowerSuspendObserver:
void OnResume() override;
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
void OnCompleteSwapWithNewSize(const gfx::Size& size);
#endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)