summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-07 12:56:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-07 12:56:17 -0700
commitf1494f0f8a202b5a5437c987ba1509688071981c (patch)
treec49cd2c07c8a512c65ab0294cea41b726ea39bcc /xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp
parent7fb17c0ba0cc551317569baafa44b4785c8f23d9 (diff)
downloadpdfium-f1494f0f8a202b5a5437c987ba1509688071981c.tar.xz
Cleanup xfa_document_datamerge files
This CL moves the static methods into an anonymous namespace, removes default parameters and moves some other methods only used by this file into the anonymous namespace. Review-Url: https://codereview.chromium.org/2122373003
Diffstat (limited to 'xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp b/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp
index 2ade051a81..117e1cec8e 100644
--- a/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp
+++ b/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp
@@ -1698,7 +1698,8 @@ void CXFA_LayoutPageMgr::MergePageSetContents() {
case XFA_Element::PageSet: {
CXFA_Node* pParentNode = pContainerItem->m_pParent->m_pFormNode;
pContainerItem->m_pFormNode = XFA_NodeMerge_CloneOrMergeContainer(
- pDocument, pParentNode, pContainerItem->m_pFormNode, TRUE);
+ pDocument, pParentNode, pContainerItem->m_pFormNode, TRUE,
+ nullptr);
} break;
case XFA_Element::PageArea: {
CXFA_ContainerLayoutItem* pFormLayout = pContainerItem;