From eaddead23892907cfdc008dc28363f366913eead Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 27 Oct 2016 15:58:44 -0700 Subject: Fix FX_BOOL / int noise in JBig2, pass 2 Review-Url: https://codereview.chromium.org/2461543002 --- core/fxcodec/jbig2/JBig2_Image.h | 4 ++-- 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]; }; -- cgit v1.2.3