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

LibPDF: Pre-initialize common FlyStrings in CommonNames.h

This commit is contained in:
Matthew Olsson 2021-05-24 08:15:43 -07:00 committed by Ali Mohammad Pur
parent cf3eb27108
commit 78f3bad7e6
8 changed files with 148 additions and 64 deletions

View file

@ -81,7 +81,7 @@ public:
#undef ENUM
};
static Optional<ColorSpace::Type> color_space_from_string(const StringView&);
static Optional<ColorSpace::Type> color_space_from_string(const FlyString&);
static Color default_color_for_color_space(ColorSpace::Type);
static Color color_from_parameters(ColorSpace::Type color_space, const Vector<Value>& args);
};