summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_list.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_list.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_list.cpp')
-rw-r--r--fxjs/xfa/cjx_list.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/xfa/cjx_list.cpp b/fxjs/xfa/cjx_list.cpp
index 27a4315d5f..4340e3b089 100644
--- a/fxjs/xfa/cjx_list.cpp
+++ b/fxjs/xfa/cjx_list.cpp
@@ -31,7 +31,7 @@ CXFA_List* CJX_List::GetXFAList() {
return static_cast<CXFA_List*>(GetXFAObject());
}
-CJS_Return CJX_List::append(CJS_V8* runtime,
+CJS_Return CJX_List::append(CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() != 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -45,7 +45,7 @@ CJS_Return CJX_List::append(CJS_V8* runtime,
return CJS_Return(true);
}
-CJS_Return CJX_List::insert(CJS_V8* runtime,
+CJS_Return CJX_List::insert(CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() != 2)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -61,7 +61,7 @@ CJS_Return CJX_List::insert(CJS_V8* runtime,
return CJS_Return(true);
}
-CJS_Return CJX_List::remove(CJS_V8* runtime,
+CJS_Return CJX_List::remove(CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() != 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -75,7 +75,7 @@ CJS_Return CJX_List::remove(CJS_V8* runtime,
return CJS_Return(true);
}
-CJS_Return CJX_List::item(CJS_V8* runtime,
+CJS_Return CJX_List::item(CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() != 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));