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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/xfa_resolvenode_rs.h b/xfa/fxfa/parser/xfa_resolvenode_rs.h
index 750adab36f..e77df4589c 100644
--- a/xfa/fxfa/parser/xfa_resolvenode_rs.h
+++ b/xfa/fxfa/parser/xfa_resolvenode_rs.h
@@ -52,9 +52,8 @@ struct XFA_RESOLVENODE_RS {
for (CXFA_Object* pObject : objects) {
auto pValue = pdfium::MakeUnique<CFXJSE_Value>(valueArray->m_pIsolate);
CJX_Object* jsObject = pObject->JSObject();
- (jsObject->*(pScriptAttribute->callback))(
- pValue.get(), false,
- static_cast<XFA_ATTRIBUTE>(pScriptAttribute->eAttribute));
+ (jsObject->*(pScriptAttribute->callback))(pValue.get(), false,
+ pScriptAttribute->attribute);
valueArray->m_Values.push_back(std::move(pValue));
}
}