diff options
Diffstat (limited to 'Libraries/LibGfx/ImageDecoder.cpp')
-rw-r--r-- | Libraries/LibGfx/ImageDecoder.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibGfx/ImageDecoder.cpp b/Libraries/LibGfx/ImageDecoder.cpp index 87a9f79ca1..54796b40fa 100644 --- a/Libraries/LibGfx/ImageDecoder.cpp +++ b/Libraries/LibGfx/ImageDecoder.cpp @@ -37,4 +37,10 @@ ImageDecoder::ImageDecoder(const u8* data, size_t size) ImageDecoder::~ImageDecoder() { } + +RefPtr<Gfx::Bitmap> ImageDecoder::bitmap() const +{ + return m_plugin->bitmap(); +} + } |