1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

LibWeb: Port DOM::Node from DeprecatedString

This commit is contained in:
Shannon Booth 2023-12-03 08:24:04 +13:00 committed by Andreas Kling
parent 89bbf53745
commit a8f5ebeddd
8 changed files with 26 additions and 27 deletions

View file

@ -47,7 +47,7 @@ Optional<TextAnchor> SVGTextContentElement::text_anchor() const
DeprecatedString SVGTextContentElement::text_contents() const
{
return child_text_content().trim_whitespace();
return child_text_content().to_deprecated_string().trim_whitespace();
}
// https://svgwg.org/svg2-draft/text.html#__svg__SVGTextContentElement__getNumberOfChars