aboutsummaryrefslogtreecommitdiff
path: root/devel/electron32/files/patch-ui_gfx_native__pixmap__handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron32/files/patch-ui_gfx_native__pixmap__handle.h')
-rw-r--r--devel/electron32/files/patch-ui_gfx_native__pixmap__handle.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/devel/electron32/files/patch-ui_gfx_native__pixmap__handle.h b/devel/electron32/files/patch-ui_gfx_native__pixmap__handle.h
deleted file mode 100644
index ac1a9db55c5a..000000000000
--- a/devel/electron32/files/patch-ui_gfx_native__pixmap__handle.h
+++ /dev/null
@@ -1,38 +0,0 @@
---- ui/gfx/native_pixmap_handle.h.orig 2023-02-01 18:43:52 UTC
-+++ ui/gfx/native_pixmap_handle.h
-@@ -14,7 +14,7 @@
- #include "ui/gfx/buffer_types.h"
- #include "ui/gfx/gfx_export.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "base/files/scoped_file.h"
- #endif
-
-@@ -34,7 +34,7 @@ struct GFX_EXPORT NativePixmapPlane {
- NativePixmapPlane(int stride,
- int offset,
- uint64_t size
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- ,
- base::ScopedFD fd
- #elif BUILDFLAG(IS_FUCHSIA)
-@@ -55,7 +55,7 @@ struct GFX_EXPORT NativePixmapPlane {
- // This is necessary to map the buffers.
- uint64_t size;
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // File descriptor for the underlying memory object (usually dmabuf).
- base::ScopedFD fd;
- #elif BUILDFLAG(IS_FUCHSIA)
-@@ -78,7 +78,7 @@ struct GFX_EXPORT NativePixmapHandle {
-
- std::vector<NativePixmapPlane> planes;
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // The modifier is retrieved from GBM library and passed to EGL driver.
- // Generally it's platform specific, and we don't need to modify it in
- // Chromium code. Also one per plane per entry.