Index: ui/ozone/platform/wayland/wayland_object.h |
diff --git a/ui/ozone/platform/wayland/wayland_object.h b/ui/ozone/platform/wayland/wayland_object.h |
index f0850aacb07532fbab0429db711394e3c3b9c9e8..f5324f9bf150aacc21ed3c8ff5e8208d75cc6d3a 100644 |
--- a/ui/ozone/platform/wayland/wayland_object.h |
+++ b/ui/ozone/platform/wayland/wayland_object.h |
@@ -11,7 +11,9 @@ |
struct wl_buffer; |
struct wl_compositor; |
+struct wl_pointer; |
struct wl_registry; |
+struct wl_seat; |
struct wl_shm; |
struct wl_shm_pool; |
struct wl_surface; |
@@ -42,12 +44,24 @@ struct ObjectTraits<wl_display> { |
}; |
template <> |
+struct ObjectTraits<wl_pointer> { |
+ static const wl_interface* interface; |
+ static void (*deleter)(wl_pointer*); |
+}; |
+ |
+template <> |
struct ObjectTraits<wl_registry> { |
static const wl_interface* interface; |
static void (*deleter)(wl_registry*); |
}; |
template <> |
+struct ObjectTraits<wl_seat> { |
+ static const wl_interface* interface; |
+ static void (*deleter)(wl_seat*); |
+}; |
+ |
+template <> |
struct ObjectTraits<wl_shm> { |
static const wl_interface* interface; |
static void (*deleter)(wl_shm*); |