diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-20 01:21:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-20 01:21:05 +0000 |
commit | 109aa6d0f673aee11a398aae478fb758fc73a33f (patch) | |
tree | 0ec791dcb33395953b5afb8b667b0a1823daa789 /fxjs/cjs_publicmethods.h | |
parent | f3cc72fd2b6910d4d7437f71efce23b501c5b526 (diff) | |
download | pdfium-109aa6d0f673aee11a398aae478fb758fc73a33f.tar.xz |
Remove more unneeded STL #includes from headers.
Remove some variables named "string" to avoid false positives from the
linter.
Change-Id: I00a53e6970451fd0cea8ab2f8178183650ca00d2
Reviewed-on: https://pdfium-review.googlesource.com/42810
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/cjs_publicmethods.h')
-rw-r--r-- | fxjs/cjs_publicmethods.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/cjs_publicmethods.h b/fxjs/cjs_publicmethods.h index f83375ca54..049fa681aa 100644 --- a/fxjs/cjs_publicmethods.h +++ b/fxjs/cjs_publicmethods.h @@ -7,7 +7,6 @@ #ifndef FXJS_CJS_PUBLICMETHODS_H_ #define FXJS_CJS_PUBLICMETHODS_H_ -#include <string> #include <vector> #include "fxjs/js_define.h" @@ -137,11 +136,11 @@ class CJS_PublicMethods final : public CJS_Object { const v8::FunctionCallbackInfo<v8::Value>& info); static const JSMethodSpec GlobalFunctionSpecs[]; - static int ParseStringInteger(const WideString& string, + static int ParseStringInteger(const WideString& str, size_t nStart, size_t* pSkip, size_t nMaxStep); - static WideString ParseStringString(const WideString& string, + static WideString ParseStringString(const WideString& str, size_t nStart, size_t* pSkip); static double ParseNormalDate(const WideString& value, bool* bWrongFormat); |