mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-07-20 22:29:28 +00:00
import from UXP: Issue #2041 follow-up - fix macro condition (8f091628)
This commit is contained in:
@@ -201,13 +201,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.
|
||||
|
||||
Reference in New Issue
Block a user