Bug 1126330 - Remove the check for non-looping animations. r=seth

This commit is contained in:
Mihai Volmer 2015-07-13 19:53:27 -07:00
parent 33a8ab8b56
commit 9148ae4112

View File

@ -313,7 +313,7 @@ FrameAnimator::GetTimeoutForFrame(uint32_t aFrameNum) const
// It seems that there are broken tools out there that set a 0ms or 10ms
// timeout when they really want a "default" one. So munge values in that
// range.
if (data.mRawTimeout >= 0 && data.mRawTimeout <= 10 && mLoopCount != 0) {
if (data.mRawTimeout >= 0 && data.mRawTimeout <= 10) {
return 100;
}