diff options
author | Moonchild <moonchild@palemoon.org> | 2023-02-27 19:27:19 +0100 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-02-27 19:27:19 +0100 |
commit | f3c063a8688664d1fdc4df3565c1513ac6599a5b (patch) | |
tree | b135c41db79e9ff39783055e02ede06219b72f32 /image | |
parent | 41448d401d3bec7b4f400eb6b7569cbd5d3d9298 (diff) | |
download | uxp-f3c063a8688664d1fdc4df3565c1513ac6599a5b.tar.gz |
Issue #2131 - Remove image.webp.enabled preference
Diffstat (limited to 'image')
-rw-r--r-- | image/DecoderFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image/DecoderFactory.cpp b/image/DecoderFactory.cpp index 916971ba6d..7cdb303a83 100644 --- a/image/DecoderFactory.cpp +++ b/image/DecoderFactory.cpp @@ -76,11 +76,11 @@ DecoderFactory::GetDecoderType(const char* aMimeType) type = DecoderType::ICON; // WebP - } else if (!strcmp(aMimeType, IMAGE_WEBP) && - gfxPrefs::ImageWebPEnabled()) { + } else if (!strcmp(aMimeType, IMAGE_WEBP)) { type = DecoderType::WEBP; } #ifdef MOZ_JXL + // JPEG-XL else if (!strcmp(aMimeType, IMAGE_JXL) && gfxPrefs::ImageJXLEnabled()) { type = DecoderType::JXL; |