diff options
author | Nicolas Pena <npm@chromium.org> | 2017-07-14 13:24:12 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-17 14:59:48 +0000 |
commit | 18531230381465592e1a037e6dfc39d4a6fb5def (patch) | |
tree | 34403ecdb01f38df91cab9fc3071c8878b561179 /core/fxcodec/jbig2/JBig2_TrdProc.cpp | |
parent | f768baf129fcafc4342193477e0c41c082ef5ca5 (diff) | |
download | pdfium-18531230381465592e1a037e6dfc39d4a6fb5def.tar.xz |
Simplify CJBig2_Context::huffman_assign_code
This CL removes duplicate huffman_assign_code()s and changes some
return values and members to std::vector.
Change-Id: I47a1e0e2e88ff54ec799c97e92ec9ff5ca87c6c7
Reviewed-on: https://pdfium-review.googlesource.com/7910
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_TrdProc.cpp')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_TrdProc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxcodec/jbig2/JBig2_TrdProc.cpp b/core/fxcodec/jbig2/JBig2_TrdProc.cpp index f65332050b..3fc43c067e 100644 --- a/core/fxcodec/jbig2/JBig2_TrdProc.cpp +++ b/core/fxcodec/jbig2/JBig2_TrdProc.cpp @@ -15,6 +15,10 @@ #include "core/fxcrt/cfx_maybe_owned.h" #include "third_party/base/ptr_util.h" +CJBig2_TRDProc::CJBig2_TRDProc() {} + +CJBig2_TRDProc::~CJBig2_TRDProc() {} + std::unique_ptr<CJBig2_Image> CJBig2_TRDProc::decode_Huffman( CJBig2_BitStream* pStream, JBig2ArithCtx* grContext) { |