diff options
author | Lei Zhang <thestig@chromium.org> | 2016-02-18 14:27:10 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-02-18 14:27:10 -0800 |
commit | 649a0efe74b6e8a6032289a66478d9bb8fb7f285 (patch) | |
tree | 75d3ac59614f5786ff6cd4ea9b2f9089527ba1cf /core/src/fxcodec/jbig2/JBig2_Context.cpp | |
parent | 65b3655fc3f858180122399654bf29dc5d11a4ba (diff) | |
download | pdfium-649a0efe74b6e8a6032289a66478d9bb8fb7f285.tar.xz |
Remove gotos in CJBig2_TRDProc.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1708413002 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_Context.cpp')
-rw-r--r-- | core/src/fxcodec/jbig2/JBig2_Context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Context.cpp b/core/src/fxcodec/jbig2/JBig2_Context.cpp index 566b84e54d..958c4a63e2 100644 --- a/core/src/fxcodec/jbig2/JBig2_Context.cpp +++ b/core/src/fxcodec/jbig2/JBig2_Context.cpp @@ -940,7 +940,7 @@ int32_t CJBig2_Context::parseTextRegion(CJBig2_Segment* pSegment) { new CJBig2_ArithDecoder(m_pStream.get())); pSegment->m_nResultType = JBIG2_IMAGE_POINTER; pSegment->m_Result.im = - pTRD->decode_Arith(pArithDecoder.get(), grContext.get()); + pTRD->decode_Arith(pArithDecoder.get(), grContext.get(), nullptr); if (!pSegment->m_Result.im) return JBIG2_ERROR_FATAL; m_pStream->alignByte(); |