diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 19:17:18 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 19:17:18 +0000 |
commit | 7f571083e35bc4056515f64c7adb7325f1a27b57 (patch) | |
tree | 6334314440e13f8ffcff27afc0ae7f58de304ea7 /xfa/fxfa/parser/cxfa_node.cpp | |
parent | 8946aec4c3e727aae806f9858c2329ce368dd517 (diff) | |
download | pdfium-7f571083e35bc4056515f64c7adb7325f1a27b57.tar.xz |
Remove default values from CJX_Node::{Set|Try}Enum
This CL removes the default value and inlines into the call sites.
Change-Id: Ib6bc2b27189be3596e83a8b29b7a6a744278ed34
Reviewed-on: https://pdfium-review.googlesource.com/17570
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 457b8dd436..1d0b639004 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -197,7 +197,7 @@ CXFA_Node* CXFA_Node::Clone(bool bRecursive) { } pCloneXML.reset(pCloneXMLElement.release()); pClone->JSNode()->SetEnum(XFA_ATTRIBUTE_Contains, - XFA_ATTRIBUTEENUM_Unknown); + XFA_ATTRIBUTEENUM_Unknown, false); } else { pCloneXML = m_pXMLNode->Clone(); } @@ -1587,7 +1587,7 @@ bool CXFA_Node::RemoveChild(CXFA_Node* pNode, bool bNotify) { } pNode->m_pXMLNode = pNewXMLElement; pNode->JSNode()->SetEnum(XFA_ATTRIBUTE_Contains, - XFA_ATTRIBUTEENUM_Unknown); + XFA_ATTRIBUTEENUM_Unknown, false); } else { m_pXMLNode->RemoveChildNode(pNode->m_pXMLNode); } |