1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:37:46 +00:00

LibWeb: Make FontPlugin::generic_font_name() return FlyString

This commit is contained in:
Andreas Kling 2023-09-06 07:45:47 +02:00 committed by Tim Flynn
parent 13db3c5ce0
commit 4da1f4e836
6 changed files with 23 additions and 23 deletions

View file

@ -19,12 +19,12 @@ public:
virtual Gfx::Font& default_font() override;
virtual Gfx::Font& default_fixed_width_font() override;
virtual DeprecatedString generic_font_name(Web::Platform::GenericFont) override;
virtual FlyString generic_font_name(Web::Platform::GenericFont) override;
void update_generic_fonts();
private:
Vector<DeprecatedString> m_generic_font_names;
Vector<FlyString> m_generic_font_names;
RefPtr<Gfx::Font> m_default_font;
RefPtr<Gfx::Font> m_default_fixed_width_font;
bool m_is_layout_test_mode { false };