summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-04 03:32:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-04 03:32:58 +0000
commit4e7a55ebf491df0999b9fb21aeee259495b943eb (patch)
treead47bc85a2f8c315de0716250fe130ebc697f5cb /xfa/fxfa/parser/cxfa_node.cpp
parent5e35931f90d83e471e4d215034abb4dcb92fac3a (diff)
downloadpdfium-4e7a55ebf491df0999b9fb21aeee259495b943eb.tar.xz
Remove flag parameter from CXFA_Node::CreateSamePacketNodechromium/3260
The parameter is never changed from the default so, removed and moved the default value into the method as needed. Change-Id: Ifab40ac511b9a0ab879e5c696c6e0b6c84e14541 Reviewed-on: https://pdfium-review.googlesource.com/17616 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_node.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp
index b46a0bda87..5962e7693f 100644
--- a/xfa/fxfa/parser/cxfa_node.cpp
+++ b/xfa/fxfa/parser/cxfa_node.cpp
@@ -337,10 +337,9 @@ std::vector<CXFA_Node*> CXFA_Node::GetNodeList(uint32_t dwTypeFilter,
return nodes;
}
-CXFA_Node* CXFA_Node::CreateSamePacketNode(XFA_Element eType,
- uint32_t dwFlags) {
+CXFA_Node* CXFA_Node::CreateSamePacketNode(XFA_Element eType) {
CXFA_Node* pNode = m_pDocument->CreateNode(m_ePacket, eType);
- pNode->SetFlag(dwFlags, true);
+ pNode->SetFlag(XFA_NodeFlag_Initialized, true);
return pNode;
}