summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_Context.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-18 14:27:10 -0800
committerLei Zhang <thestig@chromium.org>2016-02-18 14:27:10 -0800
commit649a0efe74b6e8a6032289a66478d9bb8fb7f285 (patch)
tree75d3ac59614f5786ff6cd4ea9b2f9089527ba1cf /core/src/fxcodec/jbig2/JBig2_Context.cpp
parent65b3655fc3f858180122399654bf29dc5d11a4ba (diff)
downloadpdfium-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.cpp2
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();