aboutsummaryrefslogblamecommitdiff
path: root/devel/electron23/files/patch-ui_gfx_gpu__memory__buffer.cc
blob: 533769a6d43ef247166e4368b11b2bf3bb47a2ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                
--- ui/gfx/gpu_memory_buffer.cc.orig	2022-02-28 16:54:41 UTC
+++ ui/gfx/gpu_memory_buffer.cc
@@ -54,7 +54,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c
   handle.region = region.Duplicate();
   handle.offset = offset;
   handle.stride = stride;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
   handle.native_pixmap_handle = CloneHandleForIPC(native_pixmap_handle);
 #elif BUILDFLAG(IS_MAC)
   handle.io_surface = io_surface;