summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_container.cpp')
-rw-r--r--fxjs/xfa/cjx_container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_container.cpp b/fxjs/xfa/cjx_container.cpp
index cf0aca0cbb..b7577da204 100644
--- a/fxjs/xfa/cjx_container.cpp
+++ b/fxjs/xfa/cjx_container.cpp
@@ -34,7 +34,7 @@ CJS_Return CJX_Container::getDeltas(
CJS_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
CXFA_ArrayNodeList* pFormNodes = new CXFA_ArrayNodeList(GetDocument());
- return CJS_Return(runtime->NewXFAObject(
+ return CJS_Return(static_cast<CFXJSE_Engine*>(runtime)->NewXFAObject(
pFormNodes,
GetDocument()->GetScriptContext()->GetJseNormalClass()->GetTemplate()));
}