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
commit 805123ab3d
Notes: sideshowbarker 2024-07-19 05:26:06 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ class ImageResource final : public Resource {
public:
virtual ~ImageResource() override;
Gfx::ImageDecoder& ensure_decoder();
const Gfx::Bitmap* bitmap(size_t frame_index) const;
const Gfx::Bitmap* bitmap(size_t frame_index = 0) const;
bool should_decode_in_process() const;