summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-29 21:14:58 -0700
committerLei Zhang <thestig@chromium.org>2015-09-29 21:14:58 -0700
commit0fef7dd405ac85660dbeddd2e47620daffa70cb5 (patch)
tree10e8c9122c39cde5df6eb18214e95854e6f0cba8 /core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
parent09939faa51e5b57088756838f4a4db6e01c6ed40 (diff)
downloadpdfium-0fef7dd405ac85660dbeddd2e47620daffa70cb5.tar.xz
Cleanup CJBig2_ArithDecoder.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1368153003 .
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_