summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_node.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp
index 4eff4b0748..4d9e9966cb 100644
--- a/xfa/fxfa/parser/cxfa_node.cpp
+++ b/xfa/fxfa/parser/cxfa_node.cpp
@@ -1354,8 +1354,6 @@ pdfium::Optional<void*> CXFA_Node::GetDefaultValue(
const AttributeData* data = GetAttributeData(attr);
if (!data)
return {};
- if (GetPacketID() && (GetPacketID() & data->packets) == 0)
- return {};
if (data->type == eType)
return {data->default_value};
return {};