Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad

This commit is contained in:
Joe Drew 2008-12-10 20:58:28 -08:00
Родитель d7a0710b2f
Коммит 65aa86770a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1224,9 +1224,9 @@ imgContainer::sDiscardTimerCallback(nsITimer *aTimer, void *aClosure)
int old_frame_count = self->mFrames.Count();
// Don't discard animated images, because we don't handle that very well. (See bug 414259.)
if (self->mAnim) {
delete self->mAnim;
self->mAnim = nsnull;
return;
}
self->mFrames.Clear();