mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
parent
82e68ebad1
commit
989fd6953d
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ Decoder::AllocateFrame(const gfx::IntSize& aOutputSize,
|
||||||
|
|
||||||
// We should now be on |aFrameNum|. (Note that we're comparing the frame
|
// We should now be on |aFrameNum|. (Note that we're comparing the frame
|
||||||
// number, which is zero-based, with the frame count, which is one-based.)
|
// number, which is zero-based, with the frame count, which is one-based.)
|
||||||
MOZ_ASSERT(aAnimParams, aAnimParams->mFrameNum + 1 == mFrameCount);
|
MOZ_ASSERT_IF(aAnimParams, aAnimParams->mFrameNum + 1 == mFrameCount);
|
||||||
|
|
||||||
// If we're past the first frame, PostIsAnimated() should've been called.
|
// If we're past the first frame, PostIsAnimated() should've been called.
|
||||||
MOZ_ASSERT_IF(mFrameCount > 1, HasAnimation());
|
MOZ_ASSERT_IF(mFrameCount > 1, HasAnimation());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue