LibWeb: Make CSS::ComputedProperties GC-allocated

This commit is contained in:
Andreas Kling
2024-12-20 16:35:12 +01:00
committed by Andreas Kling
parent c1cad8fa0e
commit 74469a0c1f
138 changed files with 337 additions and 339 deletions

View File

@@ -158,7 +158,7 @@ String HTMLObjectElement::data() const
return document().encoding_parse_url(*data).to_string();
}
GC::Ptr<Layout::Node> HTMLObjectElement::create_layout_node(CSS::ComputedProperties style)
GC::Ptr<Layout::Node> HTMLObjectElement::create_layout_node(GC::Ref<CSS::ComputedProperties> style)
{
switch (m_representation) {
case Representation::Children: