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

LibWeb: Port SVG::TagNames from DeprecatedFlyString

This commit is contained in:
Shannon Booth 2023-10-08 14:17:34 +13:00 committed by Tim Flynn
parent 48f367adbb
commit 7aac7002d1
4 changed files with 7 additions and 7 deletions

View file

@ -427,7 +427,7 @@ static JS::NonnullGCPtr<Element> create_html_element(JS::Realm& realm, Document&
static JS::GCPtr<SVG::SVGElement> create_svg_element(JS::Realm& realm, Document& document, QualifiedName qualified_name)
{
auto const& local_name = qualified_name.local_name().to_deprecated_fly_string();
auto const& local_name = qualified_name.local_name();
if (local_name == SVG::TagNames::svg)
return realm.heap().allocate<SVG::SVGSVGElement>(realm, document, move(qualified_name));