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/SVG/SVGElement.cpp | |
parent | 72bacba97b28fe39e2c7928f5b45f1bc601523dc (diff) | |
download | serenity-ae11d70b0c5cacf1b10481f3991fcaeaf11f859b.zip |
LibWeb: Make DOMStringMap GC-allocated
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp index 4119706dd5..301231367a 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp @@ -10,7 +10,7 @@ namespace Web::SVG { SVGElement::SVGElement(DOM::Document& document, DOM::QualifiedName qualified_name) : Element(document, move(qualified_name)) - , m_dataset(HTML::DOMStringMap::create(*this)) + , m_dataset(JS::make_handle(HTML::DOMStringMap::create(*this))) { } |