Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: core/src/fxcodec/jbig2/JBig2_Segment.cpp

Issue 1328643002: Remove dead JBig2 code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Segment.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcodec/jbig2/JBig2_Segment.cpp
diff --git a/core/src/fxcodec/jbig2/JBig2_Segment.cpp b/core/src/fxcodec/jbig2/JBig2_Segment.cpp
index afbf71a3df9a77429b472a522d99d312e34b0b06..39e4fafaa1fe30dcda7b4e481b38510683deda30 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);
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Segment.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698