1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:25:07 +00:00

LibWeb: Give ImageResource::bitmap(frame_index) default frame_index = 0

This commit is contained in:
Andreas Kling 2020-06-23 11:40:26 +02:00
parent afb03dd249
commit 805123ab3d
2 changed files with 2 additions and 2 deletions

View file

@ -161,7 +161,7 @@ const Gfx::Bitmap* ImageLoader::bitmap() const
{
if (!resource())
return nullptr;
return resource()->bitmap(0);
return resource()->bitmap();
}
const Gfx::ImageDecoder* ImageLoader::image_decoder() const