diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-18 13:47:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-18 21:11:30 +0100 |
commit | 2b866e3c9b0c6e230054edbbbe431cb1fbe3037e (patch) | |
tree | 41d4b7570daeae5d998b81023928dd63eab66544 /Userland/Libraries/LibGfx/GIFLoader.h | |
parent | 750f1d580aa0358816ef1896b630e2ffe66ff232 (diff) | |
download | serenity-2b866e3c9b0c6e230054edbbbe431cb1fbe3037e.zip |
LibGfx: Remove ImageDecoderPlugin::bitmap() in favor of frame(index)
To encourage proper support for multi-frame images throughout the
system, get rid of the single-frame convenience bitmap() API.
Diffstat (limited to 'Userland/Libraries/LibGfx/GIFLoader.h')
-rw-r--r-- | Userland/Libraries/LibGfx/GIFLoader.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/GIFLoader.h b/Userland/Libraries/LibGfx/GIFLoader.h index 8d7df27953..d3960cd8d0 100644 --- a/Userland/Libraries/LibGfx/GIFLoader.h +++ b/Userland/Libraries/LibGfx/GIFLoader.h @@ -19,7 +19,6 @@ public: GIFImageDecoderPlugin(const u8*, size_t); virtual IntSize size() override; - virtual RefPtr<Gfx::Bitmap> bitmap() override; virtual void set_volatile() override; [[nodiscard]] virtual bool set_nonvolatile(bool& was_purged) override; virtual bool sniff() override; |