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:
parent
1ae772c7d3
commit
5fd1ee0365
2 changed files with 11 additions and 11 deletions
|
@ -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>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue