mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Make DOMStringMap GC-allocated
This commit is contained in:
parent
72bacba97b
commit
ae11d70b0c
Notes:
sideshowbarker
2024-07-17 07:28:55 +09:00
Author: https://github.com/awesomekling
Commit: ae11d70b0c
Pull-request: https://github.com/SerenityOS/serenity/pull/14816
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
8 changed files with 35 additions and 25 deletions
|
@ -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)))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue