diff options
author | tsepez <tsepez@chromium.org> | 2016-10-26 15:33:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-26 15:33:58 -0700 |
commit | f39074c0ae47a84c496782f8b75bcce1e1cfdf59 (patch) | |
tree | 077b7f12bff3c4aa4d53c6b74fa32e613cc73a27 /core/fxcrt/fxcrt_stream.cpp | |
parent | e5cb0b191aed020da99757c117dae014ea65c6ba (diff) | |
download | pdfium-f39074c0ae47a84c496782f8b75bcce1e1cfdf59.tar.xz |
Fix some FX_BOOL / int noise in fxcrt.chromium/2902
Review-Url: https://codereview.chromium.org/2450183003
Diffstat (limited to 'core/fxcrt/fxcrt_stream.cpp')
-rw-r--r-- | core/fxcrt/fxcrt_stream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcrt/fxcrt_stream.cpp b/core/fxcrt/fxcrt_stream.cpp index 638a183177..48b8a79379 100644 --- a/core/fxcrt/fxcrt_stream.cpp +++ b/core/fxcrt/fxcrt_stream.cpp @@ -6,11 +6,11 @@ #include "core/fxcrt/fx_stream.h" -FX_BOOL IFX_SeekableWriteStream::WriteBlock(const void* pData, size_t size) { +bool IFX_SeekableWriteStream::WriteBlock(const void* pData, size_t size) { return WriteBlock(pData, GetSize(), size); } -FX_BOOL IFX_SeekableReadStream::IsEOF() { +bool IFX_SeekableReadStream::IsEOF() { return FALSE; } @@ -22,6 +22,6 @@ size_t IFX_SeekableReadStream::ReadBlock(void* buffer, size_t size) { return 0; } -FX_BOOL IFX_SeekableStream::WriteBlock(const void* buffer, size_t size) { +bool IFX_SeekableStream::WriteBlock(const void* buffer, size_t size) { return WriteBlock(buffer, GetSize(), size); } |