mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 12:07:52 +00:00
Backed out changeset 45d4f7b16c2f (bug 847559) for bustage.
This commit is contained in:
parent
beaebee6ce
commit
7bdcd63e71
@ -194,11 +194,6 @@ nsJPEGDecoder::WriteInternal(const char *aBuffer, uint32_t aCount)
|
|||||||
|
|
||||||
NS_ABORT_IF_FALSE(!HasError(), "Shouldn't call WriteInternal after error!");
|
NS_ABORT_IF_FALSE(!HasError(), "Shouldn't call WriteInternal after error!");
|
||||||
|
|
||||||
if (IsSizeDecode() && HasSize()) {
|
|
||||||
// More data came in since we found the size. We have nothing to do here.
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Return here if there is a fatal error within libjpeg. */
|
/* Return here if there is a fatal error within libjpeg. */
|
||||||
nsresult error_code;
|
nsresult error_code;
|
||||||
// This cast to nsresult makes sense because setjmp() returns whatever we
|
// This cast to nsresult makes sense because setjmp() returns whatever we
|
||||||
|
Loading…
x
Reference in New Issue
Block a user