1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

LibGfx/WebP: Minor cosmetical changes in WebPLoaderLossless.h

Add a comment, remove a parameter name that doesn't add anything,
and remove a weird newline in WebPLoader.cpp too.

No behavior change.
This commit is contained in:
Nico Weber 2023-05-07 15:27:32 -04:00 committed by Andreas Kling
parent eda2a2f5da
commit 119ccfe5da
2 changed files with 3 additions and 2 deletions

View file

@ -309,7 +309,6 @@ static ErrorOr<NonnullRefPtr<Bitmap>> decode_webp_chunk_VP8L(WebPLoadingContext&
{
VERIFY(context.first_chunk->type == FourCC("VP8L") || context.first_chunk->type == FourCC("VP8X"));
VERIFY(vp8l_chunk.type == FourCC("VP8L"));
auto vp8l_header = TRY(decode_webp_chunk_VP8L_header(vp8l_chunk.data));
return decode_webp_chunk_VP8L_contents(vp8l_header);
}