diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cjx_node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp index 5cba641d82..318b575b12 100644 --- a/fxjs/cjx_node.cpp +++ b/fxjs/cjx_node.cpp @@ -465,7 +465,8 @@ void CJX_Node::Script_TreeClass_ResolveNode(CFXJSE_Arguments* pArguments) { } else { const XFA_SCRIPTATTRIBUTEINFO* lpAttributeInfo = resolveNodeRS.pScriptAttribute; - if (lpAttributeInfo && lpAttributeInfo->eValueType == XFA_SCRIPT_Object) { + if (lpAttributeInfo && + lpAttributeInfo->eValueType == XFA_ScriptType::Object) { auto pValue = pdfium::MakeUnique<CFXJSE_Value>(pScriptContext->GetRuntime()); CJX_Object* jsObject = resolveNodeRS.objects.front()->JSObject(); |