mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:25:08 +00:00
LibJS+LibWeb: Add missing JS_DEFINE_ALLOCATOR() for a bunch of classes
This commit is contained in:
parent
11c968fa1f
commit
f4fa37afd2
15 changed files with 25 additions and 3 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
namespace Web::HTML {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(TrackEvent);
|
||||
|
||||
JS::NonnullGCPtr<TrackEvent> TrackEvent::create(JS::Realm& realm, FlyString const& event_name, TrackEventInit event_init)
|
||||
{
|
||||
return realm.heap().allocate<TrackEvent>(realm, realm, event_name, move(event_init));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue