summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/codec/fx_codec_jbig.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-10 16:40:49 -0700
committerLei Zhang <thestig@chromium.org>2015-09-10 16:40:49 -0700
commit536486822a5550de975293f7586598be5f29aaad (patch)
treec854dc8c38baae7acfb820f70913b3653b131f51 /core/src/fxcodec/codec/fx_codec_jbig.cpp
parentbffb53e526205df6c6313677270044cfcdd1abde (diff)
downloadpdfium-536486822a5550de975293f7586598be5f29aaad.tar.xz
Merge to XFA: Remove CJBig2_Object, CJBig2_Module, and friends.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1326953006 . (cherry picked from commit 70f4404e9a9e69afdfdd07715aa946f6561ce0cb) Review URL: https://codereview.chromium.org/1336783002 .
Diffstat (limited to 'core/src/fxcodec/codec/fx_codec_jbig.cpp')
-rw-r--r--core/src/fxcodec/codec/fx_codec_jbig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_jbig.cpp b/core/src/fxcodec/codec/fx_codec_jbig.cpp
index b95461b3e5..9361604b9d 100644
--- a/core/src/fxcodec/codec/fx_codec_jbig.cpp
+++ b/core/src/fxcodec/codec/fx_codec_jbig.cpp
@@ -48,8 +48,8 @@ FXCODEC_STATUS CCodec_Jbig2Module::StartDecode(void* pJbig2Context,
m_pJbig2Context->m_bFileReader = FALSE;
FXSYS_memset(dest_buf, 0, height * dest_pitch);
m_pJbig2Context->m_pContext = CJBig2_Context::CreateContext(
- &m_Module, (uint8_t*)global_data, global_size, (uint8_t*)src_buf,
- src_size, JBIG2_EMBED_STREAM, &m_SymbolDictCache, pPause);
+ global_data, global_size, src_buf, src_size, JBIG2_EMBED_STREAM,
+ &m_SymbolDictCache, pPause);
if (!m_pJbig2Context->m_pContext) {
return FXCODEC_STATUS_ERROR;
}