mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
Instead of ImageData having an Optional<Chunk> for the image data, have it have a Chunk, and give the context an Optional<ImageData>. This allows sharing a single code path for checking that either the main image or an animation frame has a main image data chunk, and that an alpha chunk is only present with a lossy main image data chunk. No behavior change.
35 KiB
35 KiB