summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-26 22:20:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-26 22:20:02 +0000
commit821c7236cea91645d32e1028b6f40d500961441c (patch)
treec95bc54d8c81addd09980d025535af661be19ab1 /core
parente24d5a885ecde400936796b104f1950f756d90d2 (diff)
downloadpdfium-821c7236cea91645d32e1028b6f40d500961441c.tar.xz
Shrink some tables and kill dead code in xfa.
Change-Id: Ic1260417e7d1475dd518655b2ab08f0184955d88 Reviewed-on: https://pdfium-review.googlesource.com/27170 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/fxcodec/jbig2/JBig2_ArithDecoder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxcodec/jbig2/JBig2_ArithDecoder.cpp b/core/fxcodec/jbig2/JBig2_ArithDecoder.cpp
index deba72bfc5..ba42644e94 100644
--- a/core/fxcodec/jbig2/JBig2_ArithDecoder.cpp
+++ b/core/fxcodec/jbig2/JBig2_ArithDecoder.cpp
@@ -12,10 +12,10 @@
namespace {
struct JBig2ArithQe {
- unsigned int Qe;
- unsigned int NMPS;
- unsigned int NLPS;
- unsigned int nSwitch;
+ uint16_t Qe;
+ uint8_t NMPS;
+ uint8_t NLPS;
+ uint8_t nSwitch;
};
const JBig2ArithQe kQeTable[] = {