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

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

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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 | « core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp ('k') | core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
diff --git a/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h b/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
index d68ced2fca15fdb1b61171cee8df75a164036f8b..d6bc3d1c4ba531fc0e46c59f14afd225b04902f5 100644
--- a/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
+++ b/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
@@ -13,7 +13,7 @@ class CJBig2_HuffmanTable : public CJBig2_Object
{
public:
- CJBig2_HuffmanTable(const JBig2TableLine *pTable, int nLines, FX_BOOL bHTOOB);
+ CJBig2_HuffmanTable(const JBig2TableLine *pTable, int nLines, bool bHTOOB);
CJBig2_HuffmanTable(CJBig2_BitStream *pStream);
@@ -21,22 +21,22 @@ public:
void init();
- int parseFromStandardTable(const JBig2TableLine *pTable, int nLines, FX_BOOL bHTOOB);
+ int parseFromStandardTable(const JBig2TableLine *pTable, int nLines, bool bHTOOB);
int parseFromCodedBuffer(CJBig2_BitStream *pStream);
- FX_BOOL isOK()
+ bool isOK()
{
return m_bOK;
}
private:
- FX_BOOL HTOOB;
+ bool HTOOB;
int NTEMP;
int *CODES;
int *PREFLEN;
int *RANGELEN;
int *RANGELOW;
- FX_BOOL m_bOK;
+ bool m_bOK;
friend class CJBig2_HuffmanDecoder;
};
#endif
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp ('k') | core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698