1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:35:07 +00:00

LibWeb: Make DOMStringMap GC-allocated

This commit is contained in:
Andreas Kling 2022-08-08 14:49:54 +02:00
parent 72bacba97b
commit ae11d70b0c
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)))
{
}