mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibGfx/PortableFormat: Port to Stream
Each one of `[PBM, PGM, PPM]Loader` used yet another stream-like relic. This patch ports all of them to `AK::Stream`.
This commit is contained in:
parent
b9574c180e
commit
7cafd7d177
Notes:
sideshowbarker
2024-07-17 00:53:02 +09:00
Author: https://github.com/LucasChollet
Commit: 7cafd7d177
Pull-request: https://github.com/SerenityOS/serenity/pull/17831
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
Reviewed-by: https://github.com/nico
8 changed files with 88 additions and 79 deletions
|
@ -22,5 +22,5 @@ struct PBM {
|
|||
using PBMLoadingContext = PortableImageMapLoadingContext<PBM>;
|
||||
using PBMImageDecoderPlugin = PortableImageDecoderPlugin<PBMLoadingContext>;
|
||||
|
||||
bool read_image_data(PBMLoadingContext& context, Streamer& streamer);
|
||||
bool read_image_data(PBMLoadingContext& context);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue