Index: ui/gfx/ipc/gfx_param_traits_macros.h |
diff --git a/ui/gfx/ipc/gfx_param_traits_macros.h b/ui/gfx/ipc/gfx_param_traits_macros.h |
index 70f858da663f8c1e073b9453696caf733bea54b9..39e0595ddc47e1e3e1894f79bc9893d68acfcd5c 100644 |
--- a/ui/gfx/ipc/gfx_param_traits_macros.h |
+++ b/ui/gfx/ipc/gfx_param_traits_macros.h |
@@ -19,6 +19,13 @@ IPC_ENUM_TRAITS_MAX_VALUE(gfx::BufferFormat, gfx::BufferFormat::LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(gfx::BufferUsage, gfx::BufferUsage::LAST) |
+#if defined(USE_OZONE) |
+IPC_STRUCT_TRAITS_BEGIN(gfx::NativePixmapHandle) |
+ IPC_STRUCT_TRAITS_MEMBER(fd) |
+ IPC_STRUCT_TRAITS_MEMBER(stride) |
+IPC_STRUCT_TRAITS_END() |
+#endif |
+ |
#undef IPC_MESSAGE_EXPORT |
#define IPC_MESSAGE_EXPORT |