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

LibWeb: Remove some to_deprecated_string() calls in the CSS code

This commit is contained in:
Sam Atkins 2023-12-01 16:45:31 +00:00 committed by Andreas Kling
parent 9c1c7720c5
commit 6dbc3044bd
9 changed files with 12 additions and 12 deletions

View file

@ -113,7 +113,7 @@ void serialize_a_url(StringBuilder& builder, StringView url)
// To serialize a URL means to create a string represented by "url(",
// followed by the serialization of the URL as a string, followed by ")".
builder.append("url("sv);
serialize_a_string(builder, url.to_deprecated_string());
serialize_a_string(builder, url);
builder.append(')');
}
@ -123,7 +123,7 @@ void serialize_a_local(StringBuilder& builder, StringView path)
// To serialize a LOCAL means to create a string represented by "local(",
// followed by the serialization of the LOCAL as a string, followed by ")".
builder.append("local("sv);
serialize_a_string(builder, path.to_deprecated_string());
serialize_a_string(builder, path);
builder.append(')');
}