LibWeb: Remove reference counting for CSS::StyleProperties

`AK::CopyOnWrite` already does reference counting, so there is no need
to do it again.
This commit is contained in:
Jonne Ransijn
2024-10-26 17:42:27 +02:00
committed by Andreas Kling
parent e636f3976d
commit 07cd7d479f
125 changed files with 207 additions and 216 deletions

View File

@@ -136,7 +136,7 @@ String HTMLObjectElement::data() const
return MUST(document().parse_url(*data).to_string());
}
JS::GCPtr<Layout::Node> HTMLObjectElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties> style)
JS::GCPtr<Layout::Node> HTMLObjectElement::create_layout_node(CSS::StyleProperties style)
{
switch (m_representation) {
case Representation::Children: