Index: ui/events/ozone/layout/xkb/scoped_xkb.h |
diff --git a/ui/events/ozone/layout/xkb/scoped_xkb.h b/ui/events/ozone/layout/xkb/scoped_xkb.h |
index 84efacbcf67ce97ae90d5c92bb2f714adcf1ac9a..66ec295a6f5c870a00fe8a9b48e48f640185ac67 100644 |
--- a/ui/events/ozone/layout/xkb/scoped_xkb.h |
+++ b/ui/events/ozone/layout/xkb/scoped_xkb.h |
@@ -19,6 +19,10 @@ struct XkbStateDeleter { |
void operator()(xkb_state* state) { xkb_state_unref(state); } |
}; |
+struct XkbKeymapDeleter { |
+ void operator()(xkb_keymap* keymap) { xkb_keymap_unref(keymap); } |
+}; |
+ |
} // namespace ui |
#endif // UI_EVENTS_OZONE_LAYOUT_XKB_SCOPED_XKB_H_ |