1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00

LibJS+LibWeb: Add missing JS_DEFINE_ALLOCATOR() for a bunch of classes

This commit is contained in:
Andreas Kling 2023-12-23 15:15:27 +01:00
parent 11c968fa1f
commit f4fa37afd2
15 changed files with 25 additions and 3 deletions

View file

@ -9,6 +9,8 @@
namespace Web::Animations {
JS_DEFINE_ALLOCATOR(KeyframeEffect);
JS::NonnullGCPtr<KeyframeEffect> KeyframeEffect::create(JS::Realm& realm)
{
return realm.heap().allocate<KeyframeEffect>(realm, realm);