summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/extension.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-11 15:17:59 -0700
committerLei Zhang <thestig@chromium.org>2015-06-11 15:17:59 -0700
commitd9e1477c88692ac6eaf8bd20a573a2fdccb1ff41 (patch)
tree204bbb14d2962753b0f1431c9631e81298e5f454 /core/src/fxcrt/extension.h
parentf25db681003f0247e97bfef22be56a8aa02b7595 (diff)
downloadpdfium-d9e1477c88692ac6eaf8bd20a573a2fdccb1ff41.tar.xz
Remove trailing whitespaces in core.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1177973008.
Diffstat (limited to 'core/src/fxcrt/extension.h')
-rw-r--r--core/src/fxcrt/extension.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/fxcrt/extension.h b/core/src/fxcrt/extension.h
index 79efa0e1f0..2de553acf3 100644
--- a/core/src/fxcrt/extension.h
+++ b/core/src/fxcrt/extension.h
@@ -71,7 +71,7 @@ public:
if (offset < 0 || size < 0) {
return FALSE;
}
-
+
FX_SAFE_FILESIZE pos = size;
pos += offset;
@@ -205,7 +205,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;
@@ -225,7 +225,7 @@ public:
if (m_bUseRange) {
safeOffset += m_nOffset;
}
-
+
if (!safeOffset.IsValid()) {
return FALSE;
}
@@ -284,7 +284,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;