summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorlexx9999 <19334169+lexx9999@users.noreply.github.com>2022-12-11 02:04:38 +0100
committerlexx9999 <19334169+lexx9999@users.noreply.github.com>2022-12-11 05:26:37 +0100
commit6343937b2c1ebf7cadb810818e36634e82e8a682 (patch)
treeb44681f623d1a39a39b7babceda8badf2039e520 /image
parentb9894f1e934402d05f628cc36792a5fe84bef54c (diff)
downloaduxp-6343937b2c1ebf7cadb810818e36634e82e8a682.tar.gz
Issue #2041 follow-up - fix macro condition
Diffstat (limited to 'image')
-rw-r--r--image/DecoderFactory.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/image/DecoderFactory.cpp b/image/DecoderFactory.cpp
index cd6a2fc7ad..3f8f64377a 100644
--- a/image/DecoderFactory.cpp
+++ b/image/DecoderFactory.cpp
@@ -202,13 +202,11 @@ DecoderFactory::CreateAnimationDecoder(DecoderType aType,
}
MOZ_ASSERT(aType == DecoderType::GIF || aType == DecoderType::PNG ||
- aType == DecoderType::WEBP,
+ aType == DecoderType::WEBP
#ifdef MOZ_JXL
- || aType == DecoderType::JXL,
-#else
- ,
+ || aType == DecoderType::JXL
#endif
- "Calling CreateAnimationDecoder for non-animating DecoderType");
+ , "Calling CreateAnimationDecoder for non-animating DecoderType");
// Create an anonymous decoder. Interaction with the SurfaceCache and the
// owning RasterImage will be mediated by AnimationSurfaceProvider.