Files
ports/devel/electron41/files/patch-ui_compositor_compositor.h
2026-10-04 04:07:15 +00:00

12 lines
495 B
C

--- ui/compositor/compositor.h.orig 2026-03-21 03:23:28 UTC
+++ ui/compositor/compositor.h
@@ -475,7 +475,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe
// base::PowerSuspendObserver:
void OnResume() override;
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(SUPPORTS_OZONE_X11)
void OnCompleteSwapWithNewSize(const gfx::Size& size);
#endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11)