mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:28:11 +00:00
LibWeb: Remove some to_deprecated_string()
calls in the CSS code
This commit is contained in:
parent
9c1c7720c5
commit
6dbc3044bd
9 changed files with 12 additions and 12 deletions
|
@ -63,7 +63,7 @@ String CSSFontFaceRule::serialized() const
|
|||
// 2. The result of invoking serialize a comma-separated list on performing serialize a URL or serialize a LOCAL for each source on the source list.
|
||||
serialize_a_comma_separated_list(builder, m_font_face.sources(), [&](StringBuilder& builder, FontFace::Source source) -> void {
|
||||
if (source.local_or_url.has<AK::URL>()) {
|
||||
serialize_a_url(builder, source.local_or_url.get<AK::URL>().to_deprecated_string());
|
||||
serialize_a_url(builder, MUST(source.local_or_url.get<AK::URL>().to_string()));
|
||||
} else {
|
||||
builder.appendff("local({})", source.local_or_url.get<String>());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue