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

Index: ui/gfx/gpu_memory_buffer.cc
--- ui/gfx/gpu_memory_buffer.cc.orig
+++ ui/gfx/gpu_memory_buffer.cc
@@ -36,7 +36,7 @@ GpuMemoryBufferHandle CloneHandleForIPC(
       gfx::GpuMemoryBufferHandle handle;
       handle.type = gfx::NATIVE_PIXMAP;
       handle.id = source_handle.id;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
       handle.native_pixmap_handle =
           gfx::CloneHandleForIPC(source_handle.native_pixmap_handle);
 #endif
