summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_resolvenode_rs.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_resolvenode_rs.h')
-rw-r--r--xfa/fxfa/parser/xfa_resolvenode_rs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_resolvenode_rs.h b/xfa/fxfa/parser/xfa_resolvenode_rs.h
index e77df4589c..c1c8e6b4c7 100644
--- a/xfa/fxfa/parser/xfa_resolvenode_rs.h
+++ b/xfa/fxfa/parser/xfa_resolvenode_rs.h
@@ -48,7 +48,8 @@ struct XFA_RESOLVENODE_RS {
~XFA_RESOLVENODE_RS();
size_t GetAttributeResult(CXFA_ValueArray* valueArray) const {
- if (pScriptAttribute && pScriptAttribute->eValueType == XFA_SCRIPT_Object) {
+ if (pScriptAttribute &&
+ pScriptAttribute->eValueType == XFA_ScriptType::Object) {
for (CXFA_Object* pObject : objects) {
auto pValue = pdfium::MakeUnique<CFXJSE_Value>(valueArray->m_pIsolate);
CJX_Object* jsObject = pObject->JSObject();