mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibWeb: Give ImageResource::bitmap(frame_index) default frame_index = 0
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user