mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-25 04:22:50 +00:00
LibWeb: Make CSS::ComputedProperties GC-allocated
This commit is contained in:
parent
c1cad8fa0e
commit
74469a0c1f
Notes:
github-actions[bot]
2024-12-22 09:13:42 +00:00
Author: https://github.com/awesomekling
Commit: 74469a0c1f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2995
138 changed files with 337 additions and 339 deletions
|
@ -24,7 +24,7 @@ void SVGTSpanElement::initialize(JS::Realm& realm)
|
|||
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGTSpanElement);
|
||||
}
|
||||
|
||||
GC::Ptr<Layout::Node> SVGTSpanElement::create_layout_node(CSS::ComputedProperties style)
|
||||
GC::Ptr<Layout::Node> SVGTSpanElement::create_layout_node(GC::Ref<CSS::ComputedProperties> style)
|
||||
{
|
||||
// Text must be within an SVG <text> element.
|
||||
if (shadow_including_first_ancestor_of_type<SVGTextElement>())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue