mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Issue #2041 follow-up - fix macro condition
This commit is contained in:
parent
514ed1423c
commit
8f09162893
1 changed files with 3 additions and 5 deletions
|
|
@ -203,13 +203,11 @@ DecoderFactory::CreateAnimationDecoder(DecoderType aType,
|
||||||
}
|
}
|
||||||
|
|
||||||
MOZ_ASSERT(aType == DecoderType::GIF || aType == DecoderType::PNG ||
|
MOZ_ASSERT(aType == DecoderType::GIF || aType == DecoderType::PNG ||
|
||||||
aType == DecoderType::WEBP,
|
aType == DecoderType::WEBP
|
||||||
#ifdef MOZ_JXL
|
#ifdef MOZ_JXL
|
||||||
|| aType == DecoderType::JXL,
|
|| aType == DecoderType::JXL
|
||||||
#else
|
|
||||||
,
|
|
||||||
#endif
|
#endif
|
||||||
"Calling CreateAnimationDecoder for non-animating DecoderType");
|
, "Calling CreateAnimationDecoder for non-animating DecoderType");
|
||||||
|
|
||||||
// Create an anonymous decoder. Interaction with the SurfaceCache and the
|
// Create an anonymous decoder. Interaction with the SurfaceCache and the
|
||||||
// owning RasterImage will be mediated by AnimationSurfaceProvider.
|
// owning RasterImage will be mediated by AnimationSurfaceProvider.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue