LibWeb: Use FlyString in FontCache keys

This commit is contained in:
Andreas Kling 2020-05-26 23:45:48 +02:00
commit 4ec8b9f6ee
Notes: sideshowbarker 2024-07-19 06:05:52 +09:00

View file

@ -26,13 +26,14 @@
#pragma once
#include <AK/FlyString.h>
#include <AK/HashMap.h>
#include <AK/String.h>
#include <LibGfx/Forward.h>
struct FontSelector {
String family;
String weight;
FlyString family;
FlyString weight;
bool operator==(const FontSelector& other) const
{