summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-04 01:49:37 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-04 01:49:37 +0000
commitc5d5729700a4d145cd298ec52f6f57b2d11aaafe (patch)
treeb9929296fc45c754d5f7748613cec15020664052 /fxjs
parentcf705715c5311057933ac03b395d9ea75b6f0660 (diff)
downloadpdfium-c5d5729700a4d145cd298ec52f6f57b2d11aaafe.tar.xz
Remove default values from CXFA_Node::{CountChildren|GetChild}chromium/3259
This CL removes the default values and inlines into the call sites as needed. Change-Id: I554e9d5ac781003695f90522f9c6c3160653eb59 Reviewed-on: https://pdfium-review.googlesource.com/17572 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cjx_node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index dc32e205bf..afe4bfd3b7 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -3527,7 +3527,8 @@ bool CJX_Node::TryContent(WideString& wsContent,
if (GetXFANode()->GetElementType() == XFA_Element::ExclGroup) {
pNode = GetXFANode();
} else {
- CXFA_Node* pValue = GetXFANode()->GetChild(0, XFA_Element::Value);
+ CXFA_Node* pValue =
+ GetXFANode()->GetChild(0, XFA_Element::Value, false);
if (!pValue) {
return false;
}