mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +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
|
@ -2374,7 +2374,7 @@ void StyleComputer::load_fonts_from_sheet(CSSStyleSheet const& sheet)
|
|||
for (auto& source : font_face.sources()) {
|
||||
// FIXME: These should be loaded relative to the stylesheet URL instead of the document URL.
|
||||
if (source.local_or_url.has<AK::URL>())
|
||||
urls.append(m_document->parse_url(source.local_or_url.get<AK::URL>().to_deprecated_string()));
|
||||
urls.append(m_document->parse_url(MUST(source.local_or_url.get<AK::URL>().to_string())));
|
||||
// FIXME: Handle local()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue