summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/ImageDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/ImageDecoder.h')
-rw-r--r--Userland/Libraries/LibGfx/ImageDecoder.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/ImageDecoder.h b/Userland/Libraries/LibGfx/ImageDecoder.h
index 5b0731b9a2..9d622ec8ac 100644
--- a/Userland/Libraries/LibGfx/ImageDecoder.h
+++ b/Userland/Libraries/LibGfx/ImageDecoder.h
@@ -47,8 +47,7 @@ protected:
class ImageDecoder : public RefCounted<ImageDecoder> {
public:
- static RefPtr<ImageDecoder> try_create_for_raw_bytes(ReadonlyBytes);
- static RefPtr<ImageDecoder> try_create_for_raw_bytes_with_known_path(StringView path, ReadonlyBytes);
+ static RefPtr<ImageDecoder> try_create_for_raw_bytes(ReadonlyBytes, Optional<DeprecatedString> mime_type = {});
~ImageDecoder() = default;
IntSize size() const { return m_plugin->size(); }