summaryrefslogtreecommitdiff
path: root/core/src/fxcrt
diff options
context:
space:
mode:
authorChris Palmer <palmer@google.com>2014-07-31 12:08:56 -0700
committerChris Palmer <palmer@google.com>2014-07-31 12:08:56 -0700
commit515c26bfb762aa0c9fcc9d2443e6ec9e0dc93f9f (patch)
tree6ab229c57d6d9fe961a5cb3b94e26b4bfbac395f /core/src/fxcrt
parent09363c82b5f309631eed3801b3c1cb4195763dd4 (diff)
downloadpdfium-515c26bfb762aa0c9fcc9d2443e6ec9e0dc93f9f.tar.xz
Correct the names of the FX_SAFE_* typedefs.
R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/417263008
Diffstat (limited to 'core/src/fxcrt')
-rw-r--r--core/src/fxcrt/extension.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/fxcrt/extension.h b/core/src/fxcrt/extension.h
index d04d1da550..6221d14fc7 100644
--- a/core/src/fxcrt/extension.h
+++ b/core/src/fxcrt/extension.h
@@ -230,7 +230,7 @@ public:
offset = safeOffset.ValueOrDie();
- FX_SAFE_SIZET newPos = size;
+ FX_SAFE_SIZE_T newPos = size;
newPos += offset;
if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || newPos.ValueOrDie() >= m_nCurSize) {
return FALSE;
@@ -282,7 +282,7 @@ public:
offset += (FX_FILESIZE)m_nOffset;
}
if (m_dwFlags & FX_MEMSTREAM_Consecutive) {
- FX_SAFE_SIZET newPos = size;
+ FX_SAFE_SIZE_T newPos = size;
newPos += offset;
if (!newPos.IsValid())
return FALSE;
@@ -308,7 +308,7 @@ public:
return TRUE;
}
- FX_SAFE_SIZET newPos = size;
+ FX_SAFE_SIZE_T newPos = size;
newPos += offset;
if (!newPos.IsValid()) {
return FALSE;