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:
parent
89bbf53745
commit
a8f5ebeddd
8 changed files with 26 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue