зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset c0021d576b3a (bug 1120279) for multiple reftest failures
This commit is contained in:
Родитель
653cac986e
Коммит
ac5e0632ed
|
@ -1173,7 +1173,6 @@ RasterImage::Decode(const IntSize& aSize,
|
|||
|
||||
// Make sure DecoderFactory was able to create a decoder successfully.
|
||||
if (!task) {
|
||||
DoError();
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
@ -1228,7 +1227,6 @@ RasterImage::RecoverFromInvalidFrames(const IntSize& aSize, uint32_t aFlags)
|
|||
// Animated images require some special handling, because we normally require
|
||||
// that they never be discarded.
|
||||
if (mAnimationState) {
|
||||
mAnimationState->SetDoneDecoding(false);
|
||||
Decode(mSize, aFlags | FLAG_SYNC_DECODE, PlaybackType::eAnimated);
|
||||
ResetAnimation();
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче