Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2701)

Unified Diff: core/src/fxcodec/jbig2/JBig2_ArithDecoder.h

Issue 1368153003: Cleanup CJBig2_ArithDecoder. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: add TODO Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
diff --git a/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h b/core/src/fxcodec/jbig2/JBig2_ArithDecoder.h
index 02c81b34c0eb82344741275271af00e28ef12244..a1e891065ce4b3e9ecd1ac8488e053a05512ffb8 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_
« no previous file with comments | « no previous file | core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698