зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b6eec2ca8e
Коммит
88f530158b
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче