mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
LibWeb: Port HTMLToken::make_start_tag from DeprecatedFlyString
This commit is contained in:
Notes:
sideshowbarker
2024-07-16 20:05:14 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/79ed72adb4 Pull-request: https://github.com/SerenityOS/serenity/pull/21376
@@ -70,10 +70,10 @@ public:
|
||||
return token;
|
||||
}
|
||||
|
||||
static HTMLToken make_start_tag(DeprecatedFlyString const& tag_name)
|
||||
static HTMLToken make_start_tag(FlyString const& tag_name)
|
||||
{
|
||||
HTMLToken token { Type::StartTag };
|
||||
token.set_tag_name(tag_name);
|
||||
token.set_tag_name(tag_name.to_deprecated_fly_string());
|
||||
return token;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user