1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

LibGfx: Make PortableImageDecoderPlugin constructor private

This commit is contained in:
Lucas CHOLLET 2023-03-12 13:52:14 -04:00 committed by Andreas Kling
parent 208e3f1978
commit 387894cdf2

View file

@ -52,7 +52,6 @@ public:
static bool sniff(ReadonlyBytes);
static ErrorOr<NonnullOwnPtr<ImageDecoderPlugin>> create(ReadonlyBytes);
PortableImageDecoderPlugin(u8 const*, size_t);
virtual ~PortableImageDecoderPlugin() override = default;
virtual IntSize size() override;
@ -68,6 +67,8 @@ public:
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
private:
PortableImageDecoderPlugin(u8 const*, size_t);
OwnPtr<TContext> m_context;
};