summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_attachnodelist.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-01-04 15:38:54 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-04 20:54:11 +0000
commit24d779283af803077d8377fbdc49d9d07da335e7 (patch)
treeb41866170ca658bd41d72dae67e031ef34466709 /xfa/fxfa/parser/cxfa_attachnodelist.cpp
parent492ad362da4953ddcbd5c12a6517aabd1f513454 (diff)
downloadpdfium-24d779283af803077d8377fbdc49d9d07da335e7.tar.xz
Convert CXFA_Node::GetChild to take a size_t for the indexchromium/3312
Change-Id: I99ab62f03a42bb1dc5f4d228cd60c0e254a8c70b Reviewed-on: https://pdfium-review.googlesource.com/22259 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_attachnodelist.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_attachnodelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_attachnodelist.cpp b/xfa/fxfa/parser/cxfa_attachnodelist.cpp
index 2a4741175a..f9bd26bf82 100644
--- a/xfa/fxfa/parser/cxfa_attachnodelist.cpp
+++ b/xfa/fxfa/parser/cxfa_attachnodelist.cpp
@@ -43,6 +43,6 @@ bool CXFA_AttachNodeList::Remove(CXFA_Node* pNode) {
CXFA_Node* CXFA_AttachNodeList::Item(size_t index) {
return m_pAttachNode->GetChild<CXFA_Node>(
- pdfium::base::checked_cast<int32_t>(index), XFA_Element::Unknown,
+ index, XFA_Element::Unknown,
m_pAttachNode->GetElementType() == XFA_Element::Subform);
}