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_posix.h | |
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_posix.h')
-rw-r--r-- | core/fxcrt/fxcrt_posix.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxcrt/fxcrt_posix.h b/core/fxcrt/fxcrt_posix.h index 37f6548d40..20faa5c02f 100644 --- a/core/fxcrt/fxcrt_posix.h +++ b/core/fxcrt/fxcrt_posix.h @@ -17,9 +17,9 @@ class CFXCRT_FileAccess_Posix : public IFXCRT_FileAccess { CFXCRT_FileAccess_Posix(); ~CFXCRT_FileAccess_Posix() override; - // IFXCRT_FileAccess - FX_BOOL Open(const CFX_ByteStringC& fileName, uint32_t dwMode) override; - FX_BOOL Open(const CFX_WideStringC& fileName, uint32_t dwMode) override; + // IFXCRT_FileAccess: + bool Open(const CFX_ByteStringC& fileName, uint32_t dwMode) override; + bool Open(const CFX_WideStringC& fileName, uint32_t dwMode) override; void Close() override; FX_FILESIZE GetSize() const override; FX_FILESIZE GetPosition() const override; @@ -30,8 +30,8 @@ class CFXCRT_FileAccess_Posix : public IFXCRT_FileAccess { size_t WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; - FX_BOOL Flush() override; - FX_BOOL Truncate(FX_FILESIZE szFile) override; + bool Flush() override; + bool Truncate(FX_FILESIZE szFile) override; protected: int32_t m_nFD; |