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:
parent
208e3f1978
commit
387894cdf2
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue