summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_widgetacc.cpp
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 /xfa/fxfa/cxfa_widgetacc.cpp
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 'xfa/fxfa/cxfa_widgetacc.cpp')
-rw-r--r--xfa/fxfa/cxfa_widgetacc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp
index 9dc9603377..e76d1af988 100644
--- a/xfa/fxfa/cxfa_widgetacc.cpp
+++ b/xfa/fxfa/cxfa_widgetacc.cpp
@@ -218,13 +218,13 @@ void CXFA_WidgetAcc::ResetData() {
SetValue(wsValue, XFA_VALUEPICTURE_Raw);
pAcc->SetValue(wsValue, XFA_VALUEPICTURE_Raw);
} else {
- CXFA_Node* pItems = pChild->GetChild(0, XFA_Element::Items);
+ CXFA_Node* pItems = pChild->GetChild(0, XFA_Element::Items, false);
if (!pItems)
continue;
WideString itemText;
- if (pItems->CountChildren(XFA_Element::Unknown) > 1) {
- itemText = pItems->GetChild(1, XFA_Element::Unknown)
+ if (pItems->CountChildren(XFA_Element::Unknown, false) > 1) {
+ itemText = pItems->GetChild(1, XFA_Element::Unknown, false)
->JSNode()
->GetContent(false);
}