summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_form.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-08 21:44:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-08 21:44:59 +0000
commite0518bf0a0e703b1e010081079c988f011834cb6 (patch)
treebe2df97b073ae847792cdb551868ec101b96c8cd /fxjs/xfa/cjx_form.cpp
parent3645652fb6cad1f94c9647f033a8e300bc37d521 (diff)
downloadpdfium-e0518bf0a0e703b1e010081079c988f011834cb6.tar.xz
Move cjs_v8.cpp to cfx_v8.cpp
The layering should be CJS => CFXJS => CFX_V8 with the CJS name being higher up. Change-Id: Ic130f248906e9c4df641dd508389b0555786b999 Reviewed-on: https://pdfium-review.googlesource.com/26051 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_form.cpp')
-rw-r--r--fxjs/xfa/cjx_form.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/fxjs/xfa/cjx_form.cpp b/fxjs/xfa/cjx_form.cpp
index 32de9f5902..fa244b3af6 100644
--- a/fxjs/xfa/cjx_form.cpp
+++ b/fxjs/xfa/cjx_form.cpp
@@ -32,7 +32,7 @@ CJX_Form::CJX_Form(CXFA_Form* form) : CJX_Model(form) {
CJX_Form::~CJX_Form() {}
CJS_Return CJX_Form::formNodes(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() != 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -53,7 +53,7 @@ CJS_Return CJX_Form::formNodes(
return CJS_Return(value->DirectGetValue().Get(runtime->GetIsolate()));
}
-CJS_Return CJX_Form::remerge(CJS_V8* runtime,
+CJS_Return CJX_Form::remerge(CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!params.empty())
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -63,7 +63,7 @@ CJS_Return CJX_Form::remerge(CJS_V8* runtime,
}
CJS_Return CJX_Form::execInitialize(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!params.empty())
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -76,7 +76,7 @@ CJS_Return CJX_Form::execInitialize(
}
CJS_Return CJX_Form::recalculate(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
CXFA_EventParam* pEventParam =
GetDocument()->GetScriptContext()->GetEventParam();
@@ -98,7 +98,7 @@ CJS_Return CJX_Form::recalculate(
}
CJS_Return CJX_Form::execCalculate(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!params.empty())
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -111,7 +111,7 @@ CJS_Return CJX_Form::execCalculate(
}
CJS_Return CJX_Form::execValidate(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() != 0)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));