diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-08 14:49:54 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-06 00:27:09 +0200 |
commit | ae11d70b0c5cacf1b10481f3991fcaeaf11f859b (patch) | |
tree | 46ae0002f1258e343cc5f646b4b1c03332339ad1 /Userland/Libraries/LibWeb/HTML/HTMLElement.cpp | |
parent | 72bacba97b28fe39e2c7928f5b45f1bc601523dc (diff) | |
download | serenity-ae11d70b0c5cacf1b10481f3991fcaeaf11f859b.zip |
LibWeb: Make DOMStringMap GC-allocated
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp index 935b45d32d..36fd97e8c6 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp @@ -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))) { } |