diff --git a/Libraries/LibWeb/FontCache.h b/Libraries/LibWeb/FontCache.h index 159d7221e5..2a88f706e8 100644 --- a/Libraries/LibWeb/FontCache.h +++ b/Libraries/LibWeb/FontCache.h @@ -26,13 +26,14 @@ #pragma once +#include #include #include #include struct FontSelector { - String family; - String weight; + FlyString family; + FlyString weight; bool operator==(const FontSelector& other) const { @@ -54,6 +55,6 @@ public: void set(const FontSelector&, NonnullRefPtr); private: - FontCache() {} + FontCache() { } mutable HashMap> m_fonts; };