mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:07:36 +00:00
LibGfx/JPEG: Propagate errors when creating JPEGLoadingContext
This allows the JPEG fuzzer to make progress.
This commit is contained in:
parent
a42d849ec1
commit
9ed8c0b183
2 changed files with 6 additions and 5 deletions
|
@ -28,9 +28,9 @@ public:
|
|||
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
|
||||
|
||||
private:
|
||||
JPEGImageDecoderPlugin(NonnullOwnPtr<FixedMemoryStream>);
|
||||
JPEGImageDecoderPlugin(NonnullOwnPtr<JPEGLoadingContext>);
|
||||
|
||||
OwnPtr<JPEGLoadingContext> m_context;
|
||||
NonnullOwnPtr<JPEGLoadingContext> m_context;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue