aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-ui_compositor_compositor__observer.h
blob: 0090bd1242f86951fea0c54b046f160af9375fe6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ui/compositor/compositor_observer.h.orig	2021-07-15 19:14:08 UTC
+++ ui/compositor/compositor_observer.h
@@ -48,11 +48,11 @@ class COMPOSITOR_EXPORT CompositorObserver {
 
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
   // Called when a swap with new size is completed.
   virtual void OnCompositingCompleteSwapWithNewSize(ui::Compositor* compositor,
                                                     const gfx::Size& size) {}
-#endif  // defined(OS_LINUX) || defined(OS_CHROMEOS)
+#endif  // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
 
   // Called at the top of the compositor's destructor, to give observers a
   // chance to remove themselves.