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
parent d62c0fcbdc
commit 31341b280a
122 changed files with 199 additions and 5 deletions

View File

@@ -11,6 +11,8 @@
namespace Web::CSS {
JS_DEFINE_ALLOCATOR(CSSTransition);
JS::NonnullGCPtr<CSSTransition> CSSTransition::create(JS::Realm& realm, PropertyID property_id, size_t transition_generation)
{
return realm.heap().allocate<CSSTransition>(realm, realm, property_id, transition_generation);