aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-electron_shell_common_gin__converters_osr__converter.cc
blob: 041447adfc99e5ecbfe491cd88f6d7965a5ea3ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/shell/common/gin_converters/osr_converter.cc.orig	2025-01-29 20:10:57 UTC
+++ electron/shell/common/gin_converters/osr_converter.cc
@@ -117,7 +117,7 @@ v8::Local<v8::Value> Converter<electron::OffscreenShar
           const_cast<uintptr_t*>(&val.shared_texture_handle)),
       sizeof(val.shared_texture_handle));
   dict.Set("sharedTextureHandle", handle_buf.ToLocalChecked());
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   auto v8_planes = base::ToVector(val.planes, [isolate](const auto& plane) {
     gin::Dictionary v8_plane(isolate, v8::Object::New(isolate));
     v8_plane.Set("stride", plane.stride);