summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_form.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_form.cpp')
-rw-r--r--fxjs/xfa/cjx_form.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_form.cpp b/fxjs/xfa/cjx_form.cpp
index 6576df88d2..32de9f5902 100644
--- a/fxjs/xfa/cjx_form.cpp
+++ b/fxjs/xfa/cjx_form.cpp
@@ -37,7 +37,8 @@ CJS_Return CJX_Form::formNodes(
if (params.size() != 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
- CXFA_Node* pDataNode = ToNode(runtime->ToXFAObject(params[0]));
+ CXFA_Node* pDataNode =
+ ToNode(static_cast<CFXJSE_Engine*>(runtime)->ToXFAObject(params[0]));
if (!pDataNode)
return CJS_Return(JSGetStringFromID(JSMessage::kValueError));