diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-04 01:34:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-04 01:34:07 +0000 |
commit | cf705715c5311057933ac03b395d9ea75b6f0660 (patch) | |
tree | 6ed7800850bd707b66bdb3a4acb5c4206421dbdc /xfa/fxfa | |
parent | 6fa9707e5db5454ab5ea1a8349d9e1d7cf2b175c (diff) | |
download | pdfium-cf705715c5311057933ac03b395d9ea75b6f0660.tar.xz |
Remove default values from CXFA_Node::{Remove|Insert|Item}
This CL removes the default values and inlines into the call sites as
needed.
Change-Id: I8ba6acfc99b5db508ce8711108e0676465eda47b
Reviewed-on: https://pdfium-review.googlesource.com/17670
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 01f9b3df15..d8472eb3e9 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -63,11 +63,11 @@ class CXFA_Node : public CXFA_Object { CXFA_Node* CreateInstance(bool bDataMerge); int32_t GetCount(); CXFA_Node* GetItem(int32_t iIndex); - void RemoveItem(CXFA_Node* pRemoveInstance, bool bRemoveDataBinding = true); + void RemoveItem(CXFA_Node* pRemoveInstance, bool bRemoveDataBinding); void InsertItem(CXFA_Node* pNewInstance, int32_t iPos, - int32_t iCount = -1, - bool bMoveDataBindingNodes = true); + int32_t iCount, + bool bMoveDataBindingNodes); bool IsInitialized() const { return HasFlag(XFA_NodeFlag_Initialized); } bool IsOwnXMLNode() const { return HasFlag(XFA_NodeFlag_OwnXMLNode); } |