1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +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

@ -2563,6 +2563,8 @@ static void generate_named_properties_object_definitions(IDL::Interface const& i
generator.append(R"~~~(
#include <LibWeb/WebIDL/AbstractOperations.h>
JS_DEFINE_ALLOCATOR(@named_properties_class@);
@named_properties_class@::@named_properties_class@(JS::Realm& realm)
: JS::Object(realm, nullptr, MayInterfereWithIndexedPropertyAccess::Yes)
, m_realm(realm)