LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR()

This commit is contained in:
Matthew Olsson 2024-04-06 10:16:04 -07:00 committed by Andreas Kling
commit 31341b280a
Notes: sideshowbarker 2024-07-17 21:16:31 +09:00
122 changed files with 199 additions and 5 deletions

View file

@ -21,6 +21,7 @@ struct AnimationEventInit : public DOM::EventInit {
// https://www.w3.org/TR/css-animations-1/#animationevent
class AnimationEvent : public DOM::Event {
WEB_PLATFORM_OBJECT(AnimationEvent, DOM::Event);
JS_DECLARE_ALLOCATOR(AnimationEvent);
public:
[[nodiscard]] static JS::NonnullGCPtr<AnimationEvent> create(JS::Realm&, FlyString const& type, AnimationEventInit const& event_init = {});