diff options
Diffstat (limited to 'Userland/Libraries/LibGfx/PNGLoader.h')
-rw-r--r-- | Userland/Libraries/LibGfx/PNGLoader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/PNGLoader.h b/Userland/Libraries/LibGfx/PNGLoader.h index 77c4b19c3d..9f7c0e7b6c 100644 --- a/Userland/Libraries/LibGfx/PNGLoader.h +++ b/Userland/Libraries/LibGfx/PNGLoader.h @@ -24,7 +24,7 @@ public: virtual bool is_animated() override; virtual size_t loop_count() override; virtual size_t frame_count() override; - virtual ImageFrameDescriptor frame(size_t i) override; + virtual ErrorOr<ImageFrameDescriptor> frame(size_t index) override; private: OwnPtr<PNGLoadingContext> m_context; |