зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1132427. Make sure that the first frame refresh area for an animated image gets updated based on the refresh area of all subsequent frames, not just the second. r=jrmuizel
This commit is contained in:
Родитель
bdc97c1dad
Коммит
789cc27436
|
@ -935,10 +935,9 @@ RasterImage::OnAddedFrame(uint32_t aNewFrameCount,
|
|||
if (mPendingAnimation && ShouldAnimate()) {
|
||||
StartAnimation();
|
||||
}
|
||||
|
||||
if (aNewFrameCount > 1) {
|
||||
mAnim->UnionFirstFrameRefreshArea(aNewRefreshArea);
|
||||
}
|
||||
}
|
||||
if (aNewFrameCount > 1) {
|
||||
mAnim->UnionFirstFrameRefreshArea(aNewRefreshArea);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче