diff options
author | Lei Zhang <thestig@chromium.org> | 2017-04-04 15:27:21 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-04 23:05:19 +0000 |
commit | 20a909e655147e21f966b95af6b683d85736c8c2 (patch) | |
tree | 1bf66f3587e271b31f3d9e4ec34f650dad6ffdea /core/fxcodec/codec/ccodec_jbig2module.h | |
parent | 236ce3ba2f274307db9ed49c595e242cd811716c (diff) | |
download | pdfium-20a909e655147e21f966b95af6b683d85736c8c2.tar.xz |
Remove a couple checks for MakeUnique failures.
Combine some common CCodec_Jbig2Module code.
Change-Id: I9a046314bc0e9dddc9a8c1a06b37764e9f3cc4b6
Reviewed-on: https://pdfium-review.googlesource.com/3713
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_jbig2module.h')
-rw-r--r-- | core/fxcodec/codec/ccodec_jbig2module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fxcodec/codec/ccodec_jbig2module.h b/core/fxcodec/codec/ccodec_jbig2module.h index e4e0af35da..43abe042f0 100644 --- a/core/fxcodec/codec/ccodec_jbig2module.h +++ b/core/fxcodec/codec/ccodec_jbig2module.h @@ -50,6 +50,9 @@ class CCodec_Jbig2Module { IFX_Pause* pPause); FXCODEC_STATUS ContinueDecode(CCodec_Jbig2Context* pJbig2Context, IFX_Pause* pPause); + + private: + FXCODEC_STATUS Decode(CCodec_Jbig2Context* pJbig2Context, int result); }; #endif // CORE_FXCODEC_CODEC_CCODEC_JBIG2MODULE_H_ |