diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-20 10:21:36 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-20 10:21:36 -0700 |
commit | 23378cdf2c0be861bddfffd82aed8cd6b07d77bf (patch) | |
tree | 325cc64b1d407e56bd603b01f3a08ec32144f2f1 /core/src/fxcodec/codec | |
parent | dd11f8615fc20e638fbb6f6281c4564ed8927af3 (diff) | |
download | pdfium-23378cdf2c0be861bddfffd82aed8cd6b07d77bf.tar.xz |
XFA: Remove cond ? TRUE : FALSE.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1409323003 .
Diffstat (limited to 'core/src/fxcodec/codec')
-rw-r--r-- | core/src/fxcodec/codec/fx_codec_progress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_progress.cpp b/core/src/fxcodec/codec/fx_codec_progress.cpp index 0ad4c2a668..885b751a1b 100644 --- a/core/src/fxcodec/codec/fx_codec_progress.cpp +++ b/core/src/fxcodec/codec/fx_codec_progress.cpp @@ -716,7 +716,7 @@ void CCodec_ProgressiveDecoder::GifReadScanlineCallback(void* pModule, pal_index = pCodec->m_GifTransIndex;
}
FXSYS_memset(pCodec->m_pDecodeBuf, pal_index, pCodec->m_SrcWidth);
- FX_BOOL bLastPass = ((row_num % 2) == 1) ? TRUE : FALSE;
+ FX_BOOL bLastPass = (row_num % 2) == 1;
int32_t line = row_num + pCodec->m_GifFrameRect.top;
int32_t left = pCodec->m_GifFrameRect.left;
FXSYS_memcpy(pCodec->m_pDecodeBuf + left, row_buf, img_width);
|