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-19 17:35:50 -05:00
Родитель b6eec2ca8e
Коммит 88f530158b
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();