summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-29 21:29:53 -0700
committerLei Zhang <thestig@chromium.org>2015-09-29 21:29:53 -0700
commit397b5fd37d6a9609aa08eae812f417b8ed93c3a4 (patch)
tree2be09016b9443a5371985a003dc3602d3a79164c /core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
parent3d494aff5ee1d0d313ccdce0aaf4ae44078bcd52 (diff)
downloadpdfium-397b5fd37d6a9609aa08eae812f417b8ed93c3a4.tar.xz
Merge to XFA: Cleanup CJBig2_ArithDecoder.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1368153003 . (cherry picked from commit 0fef7dd405ac85660dbeddd2e47620daffa70cb5) Review URL: https://codereview.chromium.org/1381633003 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.h')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_ArithDecoder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h b/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
index 02c81b34c0..a1e891065c 100644
--- a/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
+++ b/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
@@ -23,14 +23,14 @@ class CJBig2_ArithDecoder {
int DECODE(JBig2ArithCtx* pCX);
private:
- void INITDEC();
void BYTEIN();
+ void ReadValueA();
- unsigned char B;
- unsigned int C;
- unsigned int A;
- unsigned int CT;
- CJBig2_BitStream* m_pStream;
+ unsigned char m_B;
+ unsigned int m_C;
+ unsigned int m_A;
+ unsigned int m_CT;
+ CJBig2_BitStream* const m_pStream;
};
#endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_ARITHDECODER_H_