aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-ui_gfx_gpu__memory__buffer.cc
blob: 98a561f7da09637af20b914b6345282ab0e81bea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gfx/gpu_memory_buffer.cc.orig	2025-03-24 20:50:14 UTC
+++ ui/gfx/gpu_memory_buffer.cc
@@ -108,7 +108,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c
   handle.id = id;
   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_APPLE)
   handle.io_surface = io_surface;