mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
LibWeb: Port get_element_by_id from DeprecatedFlyString
We needed to keep the old versions of these functions around before all of the IDL interfaces were ported over to new AK String, but now that is done, we can remove the deprecated versions of these functions.
This commit is contained in:
parent
b37aab1277
commit
48f367adbb
6 changed files with 12 additions and 22 deletions
|
@ -115,7 +115,7 @@ JS::GCPtr<DOM::Element> SVGUseElement::referenced_element()
|
|||
}
|
||||
|
||||
// FIXME: Support loading of external svg documents
|
||||
return document().get_element_by_id(m_referenced_id.value());
|
||||
return document().get_element_by_id(MUST(FlyString::from_utf8(m_referenced_id.value())));
|
||||
}
|
||||
|
||||
// https://svgwg.org/svg2-draft/struct.html#UseShadowTree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue