aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h')
-rw-r--r--www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h b/www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
index 34345f15313e..bec2f7bc9f58 100644
--- a/www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
+++ b/www/chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
@@ -1,4 +1,4 @@
---- ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2021-12-31 00:58:32 UTC
+--- ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2022-02-07 13:39:41 UTC
+++ ui/gfx/mojom/native_handle_types_mojom_traits.h
@@ -15,7 +15,7 @@
#include "third_party/abseil-cpp/absl/types/optional.h"
@@ -23,16 +23,7 @@
}
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_CHROMEOS) || defined(OS_BSD)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
static uint64_t modifier(const gfx::NativePixmapHandle& pixmap_handle) {
return pixmap_handle.modifier;
}
-@@ -77,7 +77,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
- static bool Read(gfx::mojom::NativePixmapHandleDataView data,
- gfx::NativePixmapHandle* out);
- };
--#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(USE_OZONE)
-+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) || defined(USE_OZONE)
-
- #if defined(OS_WIN)
- template <>