mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +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
|
@ -38,7 +38,7 @@ CSSStyleDeclaration* CSSFontFaceRule::style()
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#ref-for-cssfontfacerule
|
||||
DeprecatedString CSSFontFaceRule::serialized() const
|
||||
String CSSFontFaceRule::serialized() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
// The result of concatenating the following:
|
||||
|
@ -137,7 +137,7 @@ DeprecatedString CSSFontFaceRule::serialized() const
|
|||
// 12. A single SPACE (U+0020), followed by the string "}", i.e., RIGHT CURLY BRACKET (U+007D).
|
||||
builder.append(" }"sv);
|
||||
|
||||
return builder.to_deprecated_string();
|
||||
return MUST(builder.to_string());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue