mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
LibWeb: Make NamedNodeMap GC-allocated
This commit is contained in:
parent
ae11d70b0c
commit
a56b3f9862
7 changed files with 49 additions and 29 deletions
|
@ -45,7 +45,7 @@ namespace Web::DOM {
|
|||
Element::Element(Document& document, DOM::QualifiedName qualified_name)
|
||||
: ParentNode(document, NodeType::ELEMENT_NODE)
|
||||
, m_qualified_name(move(qualified_name))
|
||||
, m_attributes(NamedNodeMap::create(*this))
|
||||
, m_attributes(JS::make_handle(NamedNodeMap::create(*this)))
|
||||
{
|
||||
make_html_uppercased_qualified_name();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue