From ac5e0632ede7d765f7d0fa0b7cac29bb530b751a Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Sat, 17 Sep 2016 09:54:25 -0700 Subject: [PATCH] Backed out changeset c0021d576b3a (bug 1120279) for multiple reftest failures --- image/RasterImage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/image/RasterImage.cpp b/image/RasterImage.cpp index 35eaad9f48ae..39eb40abd91d 100644 --- a/image/RasterImage.cpp +++ b/image/RasterImage.cpp @@ -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;