diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-02 13:52:56 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-02 13:52:56 -0700 |
commit | 9df5d9701ddf75f8050566132694bf435efb3ca0 (patch) | |
tree | 3465a71175c842f49ba1c945bc27ae0db5826e16 /core/src/fxcodec/jbig2/JBig2_Segment.cpp | |
parent | 870b5b6793fa261f0c6f31f026010d2d715968bf (diff) | |
download | pdfium-9df5d9701ddf75f8050566132694bf435efb3ca0.tar.xz |
Remove dead JBig2 code.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1328643002 .
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); |