Index: xfa/fxfa/parser/xfa_object.h |
diff --git a/xfa/fxfa/parser/xfa_object.h b/xfa/fxfa/parser/xfa_object.h |
index 268d5c4c790e12834c3773d73c24ba0b238f6889..08eedeeab5c846630909b949293c43931d907541 100644 |
--- a/xfa/fxfa/parser/xfa_object.h |
+++ b/xfa/fxfa/parser/xfa_object.h |
@@ -48,7 +48,8 @@ class CXFA_Object : public CFXJSE_HostObject { |
public: |
CXFA_Object(CXFA_Document* pDocument, |
XFA_ObjectType objectType, |
- XFA_Element eType); |
+ XFA_Element eType, |
+ const CFX_WideStringC& elementName); |
~CXFA_Object() override; |
CXFA_Document* GetDocument() const { return m_pDocument; } |
@@ -95,6 +96,9 @@ class CXFA_Object : public CFXJSE_HostObject { |
CXFA_Document* const m_pDocument; |
const XFA_ObjectType m_objectType; |
const XFA_Element m_elementType; |
+ |
+ const uint32_t m_elementNameHash; |
+ const CFX_WideStringC m_elementName; |
}; |
using CXFA_ObjArray = CFX_ArrayTemplate<CXFA_Object*>; |
@@ -619,7 +623,8 @@ class CXFA_Node : public CXFA_Object { |
CXFA_Node(CXFA_Document* pDoc, |
uint16_t ePacket, |
XFA_ObjectType oType, |
- XFA_Element eType); |
+ XFA_Element eType, |
+ const CFX_WideStringC& elementName); |
~CXFA_Node() override; |
bool HasFlag(XFA_NodeFlag dwFlag) const; |