summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/PublicMethods.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-09-01 13:30:19 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-01 17:48:53 +0000
commit7558414b8aa1d14ce02e360dd88e4f421cee8725 (patch)
tree2514a4cbf682f4222d22fc7974ca4ab6937bf2d3 /fpdfsdk/javascript/PublicMethods.h
parentdce09b18b48837d8006694b9dc3b2d026e5e7869 (diff)
downloadpdfium-7558414b8aa1d14ce02e360dd88e4f421cee8725.tar.xz
Prepare for converting FX_STRSIZE int->size_t
When turning on this conversion a number of typing issues and other nits where found in the code base that can be merged in without actually changing the underlying type. Landing these changes before the type change CL, since there is a high likelihood that the type change will need to be rolled back, since it is high risk. BUG=pdfium:828 Change-Id: I587443d9090055963446485a1aacb8772eb5ca64 Reviewed-on: https://pdfium-review.googlesource.com/12810 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/PublicMethods.h')
-rw-r--r--fpdfsdk/javascript/PublicMethods.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/javascript/PublicMethods.h b/fpdfsdk/javascript/PublicMethods.h
index 0f6123cd17..c373f51322 100644
--- a/fpdfsdk/javascript/PublicMethods.h
+++ b/fpdfsdk/javascript/PublicMethods.h
@@ -133,12 +133,12 @@ class CJS_PublicMethods : public CJS_Object {
JS_STATIC_DECLARE_GLOBAL_FUN();
static int ParseStringInteger(const CFX_WideString& string,
- int nStart,
- int& nSkip,
- int nMaxStep);
+ FX_STRSIZE nStart,
+ FX_STRSIZE& nSkip,
+ FX_STRSIZE nMaxStep);
static CFX_WideString ParseStringString(const CFX_WideString& string,
- int nStart,
- int& nSkip);
+ FX_STRSIZE nStart,
+ FX_STRSIZE& nSkip);
static double MakeRegularDate(const CFX_WideString& value,
const CFX_WideString& format,
bool* bWrongFormat);