diff options
author | tsepez <tsepez@chromium.org> | 2016-10-27 15:58:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-27 15:58:44 -0700 |
commit | eaddead23892907cfdc008dc28363f366913eead (patch) | |
tree | 6a21cdbb4cf2482404dcfc7f5f56bc54c517ace6 /core/fxcodec/jbig2 | |
parent | a103b1a74a388a285191ba4826ea8e60706df59d (diff) | |
download | pdfium-eaddead23892907cfdc008dc28363f366913eead.tar.xz |
Fix FX_BOOL / int noise in JBig2, pass 2
Review-Url: https://codereview.chromium.org/2461543002
Diffstat (limited to 'core/fxcodec/jbig2')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Image.h | 4 | ||||
-rw-r--r-- | core/fxcodec/jbig2/JBig2_SddProc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image.h b/core/fxcodec/jbig2/JBig2_Image.h index f27b86e854..695420d76c 100644 --- a/core/fxcodec/jbig2/JBig2_Image.h +++ b/core/fxcodec/jbig2/JBig2_Image.h @@ -30,8 +30,8 @@ class CJBig2_Image { int32_t height() const { return m_nHeight; } int32_t stride() const { return m_nStride; } - FX_BOOL getPixel(int32_t x, int32_t y); - int32_t setPixel(int32_t x, int32_t y, FX_BOOL v); + int getPixel(int32_t x, int32_t y); + int32_t setPixel(int32_t x, int32_t y, int bVal); void copyLine(int32_t hTo, int32_t hFrom); void fill(FX_BOOL v); diff --git a/core/fxcodec/jbig2/JBig2_SddProc.h b/core/fxcodec/jbig2/JBig2_SddProc.h index 747e9f05c7..b01b2ea4dd 100644 --- a/core/fxcodec/jbig2/JBig2_SddProc.h +++ b/core/fxcodec/jbig2/JBig2_SddProc.h @@ -42,7 +42,7 @@ class CJBig2_SDDProc { CJBig2_HuffmanTable* SDHUFFAGGINST; uint8_t SDTEMPLATE; int8_t SDAT[8]; - FX_BOOL SDRTEMPLATE; + int SDRTEMPLATE; int8_t SDRAT[4]; }; |