diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-04 03:31:29 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-04 03:31:29 +0000 |
commit | 185832ce3665ddfe7c3c96b398a4f56ce3eacf62 (patch) | |
tree | 98d3bce032a949f5ef79b15b7545f5ed25d16af5 /xfa/fxfa/cxfa_ffdoc.cpp | |
parent | 33591752d2cb14f2e07726ca52afce6efbdc07c9 (diff) | |
download | pdfium-185832ce3665ddfe7c3c96b398a4f56ce3eacf62.tar.xz |
Remove default params for CXFA_Node::{Insert|Remove}Child
This CL removes the default values and inlines in the call sites as
needed.
Change-Id: I68925d57b6230400429421ce728dd5524e5fc9a1
Reviewed-on: https://pdfium-review.googlesource.com/17710
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp index 244e243273..626defb7d2 100644 --- a/xfa/fxfa/cxfa_ffdoc.cpp +++ b/xfa/fxfa/cxfa_ffdoc.cpp @@ -225,8 +225,8 @@ void XFA_XPDPacket_MergeRootNode(CXFA_Node* pOriginRoot, CXFA_Node* pNewRoot) { } else { CXFA_Node* pNextSibling = pChildNode->GetNodeItem(XFA_NODEITEM_NextSibling); - pNewRoot->RemoveChild(pChildNode); - pOriginRoot->InsertChild(pChildNode); + pNewRoot->RemoveChild(pChildNode, true); + pOriginRoot->InsertChild(pChildNode, nullptr); pChildNode = pNextSibling; pNextSibling = nullptr; } |