summaryrefslogtreecommitdiff
path: root/fxjs/cjx_node.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-04 01:17:27 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-04 01:17:27 +0000
commit6fa9707e5db5454ab5ea1a8349d9e1d7cf2b175c (patch)
tree16fde30271b76d4a012f4b67d29141e62a653869 /fxjs/cjx_node.cpp
parent83ae996e5860edb31c061e12abdbf7d4a955a0b3 (diff)
downloadpdfium-6fa9707e5db5454ab5ea1a8349d9e1d7cf2b175c.tar.xz
Remove default from CJX_Node::MoveBufferMapData
This CL removes the default value from the bRecursive flag. Change-Id: I88882fd1206d82facd977f97bda4e585571ce5e0 Reviewed-on: https://pdfium-review.googlesource.com/17571 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjx_node.cpp')
-rw-r--r--fxjs/cjx_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index c14e6f092c..17553c940a 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -3894,9 +3894,9 @@ void CJX_Node::MoveBufferMapData(CXFA_Node* pSrcModule,
CXFA_Node* pDstModule,
void* pKey,
bool bRecursive) {
- if (!pSrcModule || !pDstModule || !pKey) {
+ if (!pSrcModule || !pDstModule || !pKey)
return;
- }
+
if (bRecursive) {
CXFA_Node* pSrcChild = pSrcModule->GetNodeItem(XFA_NODEITEM_FirstChild);
CXFA_Node* pDstChild = pDstModule->GetNodeItem(XFA_NODEITEM_FirstChild);