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

LibWeb: Stop lying about string types

This commit is contained in:
Hendiadyoin1 2023-06-11 19:46:53 +02:00 committed by Jelle Raaijmakers
parent 9300b9a364
commit eeb15fc10b
5 changed files with 7 additions and 7 deletions

View file

@ -1971,7 +1971,7 @@ void StyleComputer::compute_font(StyleProperties& style, DOM::Element const* ele
default:
return {};
}
return find_font(String::from_utf8(Platform::FontPlugin::the().generic_font_name(generic_font)).release_value_but_fixme_should_propagate_errors());
return find_font(String::from_deprecated_string(Platform::FontPlugin::the().generic_font_name(generic_font)).release_value_but_fixme_should_propagate_errors());
};
RefPtr<Gfx::Font const> found_font;