mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +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:
committed by
Andreas Kling
parent
f9e5b43b7a
commit
9ce8189f21
@@ -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>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user