summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_TrdProc.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2018-06-13 20:11:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-13 20:11:07 +0000
commit862520506e75e1129d3ae86d96f60facf287296e (patch)
tree22b95431bba81a3637977cabd75da05800b56870 /core/fxcodec/jbig2/JBig2_TrdProc.h
parentae7bcb7c9ec3a617a464697845968401391f74c9 (diff)
downloadpdfium-862520506e75e1129d3ae86d96f60facf287296e.tar.xz
Make CJBig2_Context::GetHuffmanTable return const
This CL changes GetHuffmanTable() to return a const pointer and fixes other members / functions accordingly. Change-Id: Ie62fe044b3156f67885dd4fa1f6512cbd35a83d3 Reviewed-on: https://pdfium-review.googlesource.com/35116 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_TrdProc.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_TrdProc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/fxcodec/jbig2/JBig2_TrdProc.h b/core/fxcodec/jbig2/JBig2_TrdProc.h
index 3db3121d3e..1d90bf4bd6 100644
--- a/core/fxcodec/jbig2/JBig2_TrdProc.h
+++ b/core/fxcodec/jbig2/JBig2_TrdProc.h
@@ -72,14 +72,14 @@ class CJBig2_TRDProc {
JBig2Corner REFCORNER;
int8_t SBDSOFFSET;
- CJBig2_HuffmanTable* SBHUFFFS;
- CJBig2_HuffmanTable* SBHUFFDS;
- CJBig2_HuffmanTable* SBHUFFDT;
- CJBig2_HuffmanTable* SBHUFFRDW;
- CJBig2_HuffmanTable* SBHUFFRDH;
- CJBig2_HuffmanTable* SBHUFFRDX;
- CJBig2_HuffmanTable* SBHUFFRDY;
- CJBig2_HuffmanTable* SBHUFFRSIZE;
+ const CJBig2_HuffmanTable* SBHUFFFS;
+ const CJBig2_HuffmanTable* SBHUFFDS;
+ const CJBig2_HuffmanTable* SBHUFFDT;
+ const CJBig2_HuffmanTable* SBHUFFRDW;
+ const CJBig2_HuffmanTable* SBHUFFRDH;
+ const CJBig2_HuffmanTable* SBHUFFRDX;
+ const CJBig2_HuffmanTable* SBHUFFRDY;
+ const CJBig2_HuffmanTable* SBHUFFRSIZE;
bool SBRTEMPLATE;
int8_t SBRAT[4];