summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_Segment.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-10 16:40:49 -0700
committerLei Zhang <thestig@chromium.org>2015-09-10 16:40:49 -0700
commit536486822a5550de975293f7586598be5f29aaad (patch)
treec854dc8c38baae7acfb820f70913b3653b131f51 /core/src/fxcodec/jbig2/JBig2_Segment.h
parentbffb53e526205df6c6313677270044cfcdd1abde (diff)
downloadpdfium-536486822a5550de975293f7586598be5f29aaad.tar.xz
Merge to XFA: Remove CJBig2_Object, CJBig2_Module, and friends.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1326953006 . (cherry picked from commit 70f4404e9a9e69afdfdd07715aa946f6561ce0cb) Review URL: https://codereview.chromium.org/1336783002 .
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 {