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

LibGfx/QOI: Remove useless parameters from member functions

Both `decode_[header,image]_and_update_context()` used to take a
`Stream&` as parameter, but they are always called with the field
`m_context.stream` so no need to take it as a parameter.
This commit is contained in:
Lucas CHOLLET 2023-07-13 23:16:05 -04:00 committed by Andreas Kling
parent 1ae772c7d3
commit 5fd1ee0365
2 changed files with 11 additions and 11 deletions

View file

@ -54,8 +54,8 @@ public:
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
private:
ErrorOr<void> decode_header_and_update_context(Stream&);
ErrorOr<void> decode_image_and_update_context(Stream&);
ErrorOr<void> decode_header_and_update_context();
ErrorOr<void> decode_image_and_update_context();
QOIImageDecoderPlugin(NonnullOwnPtr<Stream>);