Backed out changeset c0021d576b3a (bug 1120279) for multiple reftest failures

This commit is contained in:
Phil Ringnalda 2016-09-17 09:54:25 -07:00
Родитель 653cac986e
Коммит ac5e0632ed
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -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;