1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

Everywhere: Use unqualified AK::URL

Now possible in LibWeb now that there is no longer a Web::URL.
This commit is contained in:
Shannon Booth 2024-02-11 20:15:39 +13:00 committed by Andreas Kling
parent f9e5b43b7a
commit 9ce8189f21
156 changed files with 471 additions and 471 deletions

View file

@ -64,8 +64,8 @@ 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, MUST(source.local_or_url.get<AK::URL>().to_string()));
if (source.local_or_url.has<URL>()) {
serialize_a_url(builder, MUST(source.local_or_url.get<URL>().to_string()));
} else {
builder.appendff("local({})", source.local_or_url.get<String>());
}