summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Loader/ImageLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Loader/ImageLoader.cpp')
-rw-r--r--Libraries/LibWeb/Loader/ImageLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Loader/ImageLoader.cpp b/Libraries/LibWeb/Loader/ImageLoader.cpp
index 8e1218ae9b..040e711017 100644
--- a/Libraries/LibWeb/Loader/ImageLoader.cpp
+++ b/Libraries/LibWeb/Loader/ImageLoader.cpp
@@ -161,7 +161,7 @@ const Gfx::Bitmap* ImageLoader::bitmap() const
{
if (!resource())
return nullptr;
- return resource()->bitmap(0);
+ return resource()->bitmap();
}
const Gfx::ImageDecoder* ImageLoader::image_decoder() const