diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-09-27 10:58:52 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-27 16:12:07 +0000 |
commit | bacf75eeeb5d89fe60b2c77584350ca1b1432bd5 (patch) | |
tree | bbf956a86b103f5e470338e585ce8b924b08cd8b /core/fxcrt/cfx_binarybuf.cpp | |
parent | 875e98c581952478f3a3ccef9b2f2e3ed06c5346 (diff) | |
download | pdfium-bacf75eeeb5d89fe60b2c77584350ca1b1432bd5.tar.xz |
Replace FX_SAFE_STRSIZE with FX_SAFE_SIZE_T
BUG=pdfium:828
Change-Id: If9560338c456b28f968e743a90a3629791d87df0
Reviewed-on: https://pdfium-review.googlesource.com/14832
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_binarybuf.cpp')
-rw-r--r-- | core/fxcrt/cfx_binarybuf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_binarybuf.cpp b/core/fxcrt/cfx_binarybuf.cpp index d1bd05385d..3673fa58d4 100644 --- a/core/fxcrt/cfx_binarybuf.cpp +++ b/core/fxcrt/cfx_binarybuf.cpp @@ -49,7 +49,7 @@ void CFX_BinaryBuf::EstimateSize(size_t size, size_t step) { } void CFX_BinaryBuf::ExpandBuf(size_t add_size) { - FX_SAFE_STRSIZE new_size = m_DataSize; + FX_SAFE_SIZE_T new_size = m_DataSize; new_size += add_size; if (m_AllocSize >= new_size.ValueOrDie()) return; |