14 lines
649 B
C
14 lines
649 B
C
$NetBSD$
|
|
|
|
--- ui/compositor/compositor_observer.h.orig 2020-07-15 18:56:34.000000000 +0000
|
|
+++ ui/compositor/compositor_observer.h
|
|
@@ -42,7 +42,7 @@ class COMPOSITOR_EXPORT CompositorObserv
|
|
// Called when a child of the compositor is resizing.
|
|
virtual void OnCompositingChildResizing(Compositor* compositor) {}
|
|
|
|
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
|
|
// Called when a swap with new size is completed.
|
|
virtual void OnCompositingCompleteSwapWithNewSize(ui::Compositor* compositor,
|
|
const gfx::Size& size) {}
|