summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/console.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-11 10:18:16 -0800
committerLei Zhang <thestig@chromium.org>2015-11-11 10:18:16 -0800
commit945fdb70f022952e9ed53847649226369352920a (patch)
tree2e6ef88fdcb63d8d8b9961e8691a2f7049a2a9f1 /fpdfsdk/src/javascript/console.cpp
parentdd734def34bc31be370b168267ccba9705c7fc1b (diff)
downloadpdfium-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/console.cpp')
-rw-r--r--fpdfsdk/src/javascript/console.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/javascript/console.cpp b/fpdfsdk/src/javascript/console.cpp
index ebd7162650..f8dbd527d8 100644
--- a/fpdfsdk/src/javascript/console.cpp
+++ b/fpdfsdk/src/javascript/console.cpp
@@ -35,21 +35,21 @@ console::console(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject) {}
console::~console() {}
FX_BOOL console::clear(IJS_Context* cc,
- const CJS_Parameters& params,
+ const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;
}
FX_BOOL console::hide(IJS_Context* cc,
- const CJS_Parameters& params,
+ const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;
}
FX_BOOL console::println(IJS_Context* cc,
- const CJS_Parameters& params,
+ const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
if (params.size() < 1) {
@@ -59,7 +59,7 @@ FX_BOOL console::println(IJS_Context* cc,
}
FX_BOOL console::show(IJS_Context* cc,
- const CJS_Parameters& params,
+ const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;