mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de> MFH: 2019Q3
29 lines
912 B
C
29 lines
912 B
C
--- ui/gfx/native_pixmap_handle.h.orig 2019-07-24 18:59:22 UTC
|
|
+++ ui/gfx/native_pixmap_handle.h
|
|
@@ -15,7 +15,7 @@
|
|
#include "build/build_config.h"
|
|
#include "ui/gfx/gfx_export.h"
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
#include "base/files/scoped_file.h"
|
|
#endif
|
|
|
|
@@ -32,7 +32,7 @@ struct GFX_EXPORT NativePixmapPlane {
|
|
NativePixmapPlane(int stride,
|
|
int offset,
|
|
uint64_t size
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
,
|
|
base::ScopedFD fd
|
|
#elif defined(OS_FUCHSIA)
|
|
@@ -53,7 +53,7 @@ struct GFX_EXPORT NativePixmapPlane {
|
|
// This is necessary to map the buffers.
|
|
uint64_t size;
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
// File descriptor for the underlying memory object (usually dmabuf).
|
|
base::ScopedFD fd;
|
|
#elif defined(OS_FUCHSIA)
|