mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew
This commit is contained in:
parent
bfd43dd7c1
commit
8fce450089
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user