summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/util.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-11 10:11:18 -0800
committerLei Zhang <thestig@chromium.org>2015-11-11 10:11:18 -0800
commitf20a34c0f2dfca49f735a0f11147254c26831e7c (patch)
treedb3ee108eab6cd56a96990a74a9ba3d4bb82b112 /fpdfsdk/src/javascript/util.cpp
parent56e3da27d8bed8a6c03274b7b946e3f6d6ac11f4 (diff)
downloadpdfium-f20a34c0f2dfca49f735a0f11147254c26831e7c.tar.xz
Replace CJS_Parameters with std::vector<CJS_Value>.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1437713003 .
Diffstat (limited to 'fpdfsdk/src/javascript/util.cpp')
-rw-r--r--fpdfsdk/src/javascript/util.cpp10
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();