mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
LibWeb: Port SVG::TagNames from DeprecatedFlyString
This commit is contained in:
parent
48f367adbb
commit
7aac7002d1
Notes:
sideshowbarker
2024-07-16 18:06:41 +09:00
Author: https://github.com/shannonbooth
Commit: 7aac7002d1
Pull-request: https://github.com/SerenityOS/serenity/pull/21376
4 changed files with 7 additions and 7 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue