summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_Segment.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-10 16:12:44 -0700
committerLei Zhang <thestig@chromium.org>2015-09-10 16:12:44 -0700
commit70f4404e9a9e69afdfdd07715aa946f6561ce0cb (patch)
tree0c681df1e7bb78e9834555834ad464eb7bf2a929 /core/src/fxcodec/jbig2/JBig2_Segment.h
parent6df59849472958e7de96da6d9fc7b223b7c1f1c3 (diff)
downloadpdfium-70f4404e9a9e69afdfdd07715aa946f6561ce0cb.tar.xz
Remove CJBig2_Object, CJBig2_Module, and friends.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1326953006 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_Segment.h')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Segment.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Segment.h b/core/src/fxcodec/jbig2/JBig2_Segment.h
index 5c1c585939..b80a5d282f 100644
--- a/core/src/fxcodec/jbig2/JBig2_Segment.h
+++ b/core/src/fxcodec/jbig2/JBig2_Segment.h
@@ -6,11 +6,12 @@
#ifndef _JBIG2_SEGMENT_H_
#define _JBIG2_SEGMENT_H_
+
#include "JBig2_Define.h"
-#include "JBig2_SymbolDict.h"
-#include "JBig2_PatternDict.h"
-#include "JBig2_Module.h"
#include "JBig2_HuffmanTable.h"
+#include "JBig2_PatternDict.h"
+#include "JBig2_SymbolDict.h"
+
#define JBIG2_GET_INT32(buf) \
(((buf)[0] << 24) | ((buf)[1] << 16) | ((buf)[2] << 8) | (buf)[3])
#define JBIG2_GET_INT16(buf) (((buf)[0] << 8) | (buf)[1])
@@ -49,7 +50,7 @@ class CJBig2_Segment {
FX_DWORD m_dwData_length;
FX_DWORD m_dwHeader_Length;
- uint8_t* m_pData;
+ const uint8_t* m_pData;
JBig2_SegmentState m_State;
JBig2_ResultType m_nResultType;
union {