summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-01 14:03:33 -0700
committerLei Zhang <thestig@chromium.org>2015-10-01 14:03:33 -0700
commit61d25619b1e7647b10689352039966a1394feae6 (patch)
tree9905fdfb8501a0d5861d9a6f06be59329e7be86d /core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
parent016a347171b8df1b5c45c342bdba66a4e3c94365 (diff)
downloadpdfium-61d25619b1e7647b10689352039966a1394feae6.tar.xz
Merge to XFA: Cleanup JBig2_ArithIntDecoder.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1359013003 . (cherry picked from commit ce37d7347f1ab4c9fc1f48a137628da641bb4f14) Review URL: https://codereview.chromium.org/1386473002 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.h')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_ArithDecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h b/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
index a1e891065c..3cb95acd95 100644
--- a/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
+++ b/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
@@ -10,6 +10,8 @@
class CJBig2_BitStream;
struct JBig2ArithCtx {
+ JBig2ArithCtx() : MPS(0), I(0) {}
+
unsigned int MPS;
unsigned int I;
};