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:
parent
890cce6fbb
commit
d400291ad9
18 changed files with 30 additions and 30 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue