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

LibPDF: Move color space creation from name or array into ColorSpace

No behavior change.
This commit is contained in:
Nico Weber 2023-11-03 01:44:18 -04:00 committed by Andrew Kaster
parent 1dfd49ef99
commit 3dca11c4e2
3 changed files with 15 additions and 10 deletions

View file

@ -50,6 +50,7 @@ private:
class ColorSpace : public RefCounted<ColorSpace> {
public:
static PDFErrorOr<NonnullRefPtr<ColorSpace>> create(Document*, NonnullRefPtr<Object>);
static PDFErrorOr<NonnullRefPtr<ColorSpace>> create(DeprecatedFlyString const&);
static PDFErrorOr<NonnullRefPtr<ColorSpace>> create(Document*, NonnullRefPtr<ArrayObject>);