mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGfx: Make PortableImageDecoderPlugin constructor private
This commit is contained in:
committed by
Andreas Kling
parent
208e3f1978
commit
387894cdf2
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user