LibWeb: Make DOMStringMap GC-allocated

This commit is contained in:
Andreas Kling 2022-08-08 14:49:54 +02:00
commit ae11d70b0c
Notes: sideshowbarker 2024-07-17 07:28:55 +09:00
8 changed files with 35 additions and 25 deletions

View file

@ -30,7 +30,7 @@ namespace Web::HTML {
HTMLElement::HTMLElement(DOM::Document& document, DOM::QualifiedName qualified_name)
: Element(document, move(qualified_name))
, m_dataset(DOMStringMap::create(*this))
, m_dataset(JS::make_handle(DOMStringMap::create(*this)))
{
}