mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew
This commit is contained in:
parent
1d6718c679
commit
870366be4c
@ -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