$OpenBSD: patch-ui_gfx_mojo_buffer_types_struct_traits_h,v 1.2 2017/09/09 19:16:43 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
@@ -244,7 +244,7 @@ struct StructTraits<gfx::mojom::NativePixmapHandleData
                               void* context);
 
   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.
