mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
LibGfx/PNG: Decode the header in create()
and remove initialize()
This is done as a part of #19893. As `create()` is now the last user of `decode_png_ihdr()`, we can easily make it return an `ErrorOr`.
This commit is contained in:
parent
07f72b6d41
commit
ff6d82c3e7
2 changed files with 12 additions and 47 deletions
|
@ -21,7 +21,6 @@ public:
|
|||
|
||||
virtual IntSize size() override;
|
||||
|
||||
virtual ErrorOr<void> initialize() override;
|
||||
virtual bool is_animated() override;
|
||||
virtual size_t loop_count() override;
|
||||
virtual size_t frame_count() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue