From 95e854f3d8a6e1971b4538cc57c6e7c533b4aaed Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Sat, 13 Jun 2015 00:58:06 -0700 Subject: Remove trailing whitespaces in core, XFA edition. Review URL: https://codereview.chromium.org/1180333002. --- core/src/fxcrt/extension.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/src/fxcrt/extension.h') diff --git a/core/src/fxcrt/extension.h b/core/src/fxcrt/extension.h index e83671a670..2c084eca2f 100644 --- a/core/src/fxcrt/extension.h +++ b/core/src/fxcrt/extension.h @@ -33,7 +33,7 @@ class CFX_CRTFileAccess : public IFX_FileAccess public: CFX_CRTFileAccess() : m_RefCount(0) {} - virtual void Release() + virtual void Release() { if (--m_RefCount == 0) delete this; @@ -45,7 +45,7 @@ public: return (IFX_FileAccess*)this; } - virtual FX_BOOL Init(const CFX_WideStringC& wsPath) + virtual FX_BOOL Init(const CFX_WideStringC& wsPath) { m_path = wsPath; m_RefCount = 1; @@ -109,7 +109,7 @@ public: if (offset < 0 || size < 0) { return FALSE; } - + FX_SAFE_FILESIZE pos = size; pos += offset; @@ -243,7 +243,7 @@ public: if (!range.IsValid() || range.ValueOrDie() > m_nCurSize) { return FALSE; } - + m_nOffset = (size_t)offset, m_nSize = (size_t)size; m_bUseRange = TRUE; m_nCurPos = m_nOffset; @@ -263,7 +263,7 @@ public: if (m_bUseRange) { safeOffset += m_nOffset; } - + if (!safeOffset.IsValid()) { return FALSE; } @@ -322,7 +322,7 @@ public: offset += (FX_FILESIZE)m_nOffset; } if (m_dwFlags & FX_MEMSTREAM_Consecutive) { - FX_SAFE_SIZE_T newPos = size; + FX_SAFE_SIZE_T newPos = size; newPos += offset; if (!newPos.IsValid()) return FALSE; -- cgit v1.2.3