Remove the packets from attribute data. Now that the attributes are stored per node we don't need to store the packets for a given attribute as the node is already restricted to certain packets. Change-Id: Ic8916f5e045a14a437e1487445c0742e6d5def44 Reviewed-on: https://pdfium-review.googlesource.com/19830 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/xfa/fxfa/parser/cxfa_documentassembly.cpp b/xfa/fxfa/parser/cxfa_documentassembly.cpp index 971bf7c..5ddc90f 100644 --- a/xfa/fxfa/parser/cxfa_documentassembly.cpp +++ b/xfa/fxfa/parser/cxfa_documentassembly.cpp
@@ -9,11 +9,9 @@ namespace { const CXFA_Node::AttributeData kAttributeData[] = { - {XFA_Attribute::Desc, XFA_AttributeType::CData, - XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet, nullptr}, - {XFA_Attribute::Lock, XFA_AttributeType::Integer, XFA_XDPPACKET_Config, - (void*)0}, - {XFA_Attribute::Unknown, XFA_AttributeType::Integer, 0, nullptr}}; + {XFA_Attribute::Desc, XFA_AttributeType::CData, nullptr}, + {XFA_Attribute::Lock, XFA_AttributeType::Integer, (void*)0}, + {XFA_Attribute::Unknown, XFA_AttributeType::Integer, nullptr}}; constexpr wchar_t kName[] = L"documentAssembly";