summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/extension.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-13 00:58:06 -0700
committerLei Zhang <thestig@chromium.org>2015-06-13 00:58:06 -0700
commit95e854f3d8a6e1971b4538cc57c6e7c533b4aaed (patch)
treeb2d45762d4670ef93321bc6a464946a93cc7e8b0 /core/src/fxcrt/extension.h
parenta6d9f0edce07194f551db4c38bb427fbf7d550cf (diff)
downloadpdfium-95e854f3d8a6e1971b4538cc57c6e7c533b4aaed.tar.xz
Remove trailing whitespaces in core, XFA edition.
Review URL: https://codereview.chromium.org/1180333002.
Diffstat (limited to 'core/src/fxcrt/extension.h')
-rw-r--r--core/src/fxcrt/extension.h12
1 files changed, 6 insertions, 6 deletions
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;