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

LibWeb: Port CSSRule::serialized from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-11-20 23:16:39 +13:00 committed by Tim Flynn
parent 890cce6fbb
commit d400291ad9
18 changed files with 30 additions and 30 deletions

View file

@ -30,11 +30,11 @@ void CSSKeyframeRule::initialize(JS::Realm& realm)
set_prototype(&Bindings::ensure_web_prototype<Bindings::CSSKeyframeRulePrototype>(realm, "CSSKeyframeRule"));
}
DeprecatedString CSSKeyframeRule::serialized() const
String CSSKeyframeRule::serialized() const
{
StringBuilder builder;
builder.appendff("{}% {{ {} }}", key().value(), style()->serialized());
return builder.to_deprecated_string();
return MUST(builder.to_string());
}
}