aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-ui_compositor_compositor.h
blob: 7cac0264ea23121415453ea6bbbfd532edb839ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/compositor/compositor.h.orig	2025-04-06 11:53:46 UTC
+++ ui/compositor/compositor.h
@@ -472,7 +472,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)