Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew

This commit is contained in:
Luis de Bethencourt 2013-04-15 22:05:46 -04:00
parent bfd43dd7c1
commit 8fce450089

View File

@ -2674,9 +2674,6 @@ RasterImage::WriteToDecoder(const char *aBuffer, uint32_t aCount)
mDecoder->Write(aBuffer, aCount);
mInDecoder = false;
if (!mDecoder)
return NS_ERROR_FAILURE;
CONTAINER_ENSURE_SUCCESS(mDecoder->GetDecoderError());
// Keep track of the total number of bytes written over the lifetime of the