mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
LibWeb: Port CSSRule::serialized from DeprecatedString to String
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user