1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:48:13 +00:00

LibGfx: Remove ImageDecoderPlugin::initialize()

No plugin is currently overriding the default implementation, which is a
no-op. So we can safely delete it.
This commit is contained in:
Lucas CHOLLET 2023-07-17 13:00:37 -04:00 committed by Sam Atkins
parent 3752facfbc
commit 4291288a31
18 changed files with 17 additions and 91 deletions

View file

@ -14,8 +14,6 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
if (decoder_or_error.is_error())
return 0;
auto decoder = decoder_or_error.release_value();
if (!decoder->initialize().is_error()) {
(void)decoder->frame(0);
}
(void)decoder->frame(0);
return 0;
}