summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_basic_imp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 13:19:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 13:19:25 -0700
commit2f284d531f08136f3a42ca26ac2c128ea8d8d2ca (patch)
tree28037e0dfcbe689d5d96cb1abedc8b808cc7aad3 /xfa/fxfa/parser/xfa_basic_imp.cpp
parenta26153440b46b3b37b7e81435debb296f22769f4 (diff)
downloadpdfium-2f284d531f08136f3a42ca26ac2c128ea8d8d2ca.tar.xz
Remove unused XFA_GetElementChildren.
This CL removes the method and the backing data. Review-Url: https://codereview.chromium.org/2079493002
Diffstat (limited to 'xfa/fxfa/parser/xfa_basic_imp.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_basic_imp.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/xfa_basic_imp.cpp b/xfa/fxfa/parser/xfa_basic_imp.cpp
index 8367462b60..2b8074fe04 100644
--- a/xfa/fxfa/parser/xfa_basic_imp.cpp
+++ b/xfa/fxfa/parser/xfa_basic_imp.cpp
@@ -197,14 +197,7 @@ const XFA_ELEMENTINFO* XFA_GetElementByName(const CFX_WideStringC& wsName) {
const XFA_ELEMENTINFO* XFA_GetElementByID(XFA_ELEMENT eName) {
return (eName < g_iXFAElementCount) ? (g_XFAElementData + eName) : NULL;
}
-const uint16_t* XFA_GetElementChildren(XFA_ELEMENT eElement, int32_t& iCount) {
- if (eElement >= g_iXFAElementCount) {
- return NULL;
- }
- const XFA_ELEMENTHIERARCHY* pElement = g_XFAElementChildrenIndex + eElement;
- iCount = pElement->wCount;
- return g_XFAElementChildrenData + pElement->wStart;
-}
+
const uint8_t* XFA_GetElementAttributes(XFA_ELEMENT eElement, int32_t& iCount) {
if (eElement >= g_iXFAElementCount) {
return NULL;