diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-03 14:45:32 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-03 14:45:32 -0700 |
commit | 928c183ece333e4eb55acbbd8036cf473b94f516 (patch) | |
tree | 6273b16804fd06cdd9a90c4c8040b9db080b17f1 /core/src/fxcodec/jbig2/JBig2_Segment.cpp | |
parent | 55512706477c035ee27413a7a2c9a75f31ceae34 (diff) | |
download | pdfium-928c183ece333e4eb55acbbd8036cf473b94f516.tar.xz |
Merge to XFA: Remove dead JBig2 code.
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1328643002 .
(cherry picked from commit 9df5d9701ddf75f8050566132694bf435efb3ca0)
Review URL: https://codereview.chromium.org/1319563003 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_Segment.cpp')
-rw-r--r-- | core/src/fxcodec/jbig2/JBig2_Segment.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Segment.cpp b/core/src/fxcodec/jbig2/JBig2_Segment.cpp index afbf71a3df..39e4fafaa1 100644 --- a/core/src/fxcodec/jbig2/JBig2_Segment.cpp +++ b/core/src/fxcodec/jbig2/JBig2_Segment.cpp @@ -6,12 +6,6 @@ #include "JBig2_Segment.h" CJBig2_Segment::CJBig2_Segment() { - init(); -} -CJBig2_Segment::~CJBig2_Segment() { - clean(); -} -void CJBig2_Segment::init() { m_dwNumber = 0; m_cFlags.c = 0; m_nReferred_to_segment_count = 0; @@ -24,6 +18,9 @@ void CJBig2_Segment::init() { m_nResultType = JBIG2_VOID_POINTER; m_Result.vd = NULL; } +CJBig2_Segment::~CJBig2_Segment() { + clean(); +} void CJBig2_Segment::clean() { if (m_pReferred_to_segment_numbers) { m_pModule->JBig2_Free(m_pReferred_to_segment_numbers); |