summaryrefslogtreecommitdiff
path: root/core/fxcodec/codec
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-26 13:42:15 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-26 20:58:50 +0000
commit56e5e67fd2ac582dcfa83821c815a0014a43bd10 (patch)
treeee31af73d2c1d4497c1867c262c47039a3b5d854 /core/fxcodec/codec
parent385d32f64613f08bad5cb63f0b8dc4f847f240f4 (diff)
downloadpdfium-56e5e67fd2ac582dcfa83821c815a0014a43bd10.tar.xz
IFX_Pause is passed to CJBig2_Context, no need to store.chromium/3113
Avoids the possibility of having a stale pointer in the context. Bug: 726653 Change-Id: I8b41d2ab04e7ab07e694431b53491b3d0861e4ee Reviewed-on: https://pdfium-review.googlesource.com/6074 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec/codec')
-rw-r--r--core/fxcodec/codec/fx_codec_jbig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/codec/fx_codec_jbig.cpp b/core/fxcodec/codec/fx_codec_jbig.cpp
index 7df87e981f..32d030e98d 100644
--- a/core/fxcodec/codec/fx_codec_jbig.cpp
+++ b/core/fxcodec/codec/fx_codec_jbig.cpp
@@ -65,7 +65,7 @@ FXCODEC_STATUS CCodec_Jbig2Module::StartDecode(
memset(dest_buf, 0, height * dest_pitch);
pJbig2Context->m_pContext = pdfium::MakeUnique<CJBig2_Context>(
global_stream, src_stream, pJBig2DocumentContext->GetSymbolDictCache(),
- pPause, false);
+ false);
int ret = pJbig2Context->m_pContext->getFirstPage(dest_buf, width, height,
dest_pitch, pPause);
return Decode(pJbig2Context, ret);