summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_delta.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_delta.cpp')
-rw-r--r--fxjs/xfa/cjx_delta.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_delta.cpp b/fxjs/xfa/cjx_delta.cpp
index 791fd213df..edf17b9469 100644
--- a/fxjs/xfa/cjx_delta.cpp
+++ b/fxjs/xfa/cjx_delta.cpp
@@ -20,12 +20,12 @@ CJX_Delta::CJX_Delta(CXFA_Delta* delta) : CJX_Object(delta) {
CJX_Delta::~CJX_Delta() {}
-CJS_Return CJX_Delta::restore(CFX_V8* runtime,
+CJS_Result CJX_Delta::restore(CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!params.empty())
- return CJS_Return::Failure(JSMessage::kParamError);
+ return CJS_Result::Failure(JSMessage::kParamError);
- return CJS_Return::Success();
+ return CJS_Result::Success();
}
void CJX_Delta::currentValue(CFXJSE_Value* pValue,