$OpenBSD: patch-ui_gfx_mojo_buffer_types_struct_traits_h,v 1.3 2018/05/04 07:14:58 robert Exp $

Index: ui/gfx/mojo/buffer_types_struct_traits.h
--- ui/gfx/mojo/buffer_types_struct_traits.h.orig
+++ ui/gfx/mojo/buffer_types_struct_traits.h
@@ -285,7 +285,7 @@ template <>
 struct StructTraits<gfx::mojom::NativePixmapHandleDataView,
                     gfx::NativePixmapHandle> {
   static bool IsNull(const gfx::NativePixmapHandle& handle) {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
     return false;
 #else
     // NativePixmapHandle are not used on non-linux platforms.
