blob: 019555970c130c00a3d3d79276ed835685121b88 (
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-03-12 23:57:48 UTC
+++ ui/compositor/compositor_observer.h
@@ -46,11 +46,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.
|