diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-04 01:49:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-04 01:49:37 +0000 |
commit | c5d5729700a4d145cd298ec52f6f57b2d11aaafe (patch) | |
tree | b9929296fc45c754d5f7748613cec15020664052 /xfa/fxfa/parser/xfa_utils.cpp | |
parent | cf705715c5311057933ac03b395d9ea75b6f0660 (diff) | |
download | pdfium-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 'xfa/fxfa/parser/xfa_utils.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_utils.cpp b/xfa/fxfa/parser/xfa_utils.cpp index 45cbbd5b18..2ee675013c 100644 --- a/xfa/fxfa/parser/xfa_utils.cpp +++ b/xfa/fxfa/parser/xfa_utils.cpp @@ -130,7 +130,7 @@ int XFA_GetMaxFractionalScale() { CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData) { CXFA_Node* pNodeValue = - pWidgetData->GetNode()->GetChild(0, XFA_Element::Value); + pWidgetData->GetNode()->GetChild(0, XFA_Element::Value, false); if (!pNodeValue) { return CXFA_LocaleValue(); } @@ -216,7 +216,7 @@ bool XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode) { if (!pFieldNode) return bRet; - CXFA_Node* pUIChild = pFieldNode->GetChild(0, XFA_Element::Ui); + CXFA_Node* pUIChild = pFieldNode->GetChild(0, XFA_Element::Ui, false); if (pUIChild) { CXFA_Node* pFirstChild = pUIChild->GetNodeItem(XFA_NODEITEM_FirstChild); if (pFirstChild && |