diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-11 10:18:16 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-11 10:18:16 -0800 |
commit | 945fdb70f022952e9ed53847649226369352920a (patch) | |
tree | 2e6ef88fdcb63d8d8b9961e8691a2f7049a2a9f1 /fpdfsdk/src/javascript/util.cpp | |
parent | dd734def34bc31be370b168267ccba9705c7fc1b (diff) | |
download | pdfium-945fdb70f022952e9ed53847649226369352920a.tar.xz |
Merge to XFA: Replace CJS_Parameters with std::vector<CJS_Value>.
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1437713003 .
(cherry picked from commit f20a34c0f2dfca49f735a0f11147254c26831e7c)
Review URL: https://codereview.chromium.org/1437863005 .
Diffstat (limited to 'fpdfsdk/src/javascript/util.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/util.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/src/javascript/util.cpp b/fpdfsdk/src/javascript/util.cpp index 14e15c1b6f..2c28cc55e3 100644 --- a/fpdfsdk/src/javascript/util.cpp +++ b/fpdfsdk/src/javascript/util.cpp @@ -115,7 +115,7 @@ int util::ParstDataType(std::wstring* sFormat) { } FX_BOOL util::printf(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { int iSize = params.size(); @@ -178,7 +178,7 @@ FX_BOOL util::printf(IJS_Context* cc, } FX_BOOL util::printd(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { int iSize = params.size(); @@ -390,7 +390,7 @@ void util::printd(const std::wstring& cFormat2, } FX_BOOL util::printx(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { int iSize = params.size(); @@ -490,7 +490,7 @@ void util::printx(const std::string& cFormat, } FX_BOOL util::scand(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { int iSize = params.size(); @@ -539,7 +539,7 @@ int64_t FX_atoi64(const char* nptr) { } FX_BOOL util::byteToChar(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { int iSize = params.size(); |