summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_parser_imp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 07:45:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 07:45:23 -0700
commit3fa3351c90332cd51e67bf4624c57bd0ba78e4a6 (patch)
treeccf2f14011ce44862e0e3b9ad9fb85ceebab9a05 /xfa/fxfa/parser/xfa_parser_imp.h
parent5377267504015d056bc0860ffadc23289b21039d (diff)
downloadpdfium-3fa3351c90332cd51e67bf4624c57bd0ba78e4a6.tar.xz
Cleanup XML parser code.
This Cl removes the CFDE_XMLSAXParser and CFDE_XMLDOMParser along with the ::LoadXML() method which would create them, it was never called. It also cleans up the use of virtual in the various XML classes. Review-Url: https://codereview.chromium.org/2067253002
Diffstat (limited to 'xfa/fxfa/parser/xfa_parser_imp.h')
-rw-r--r--xfa/fxfa/parser/xfa_parser_imp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_parser_imp.h b/xfa/fxfa/parser/xfa_parser_imp.h
index 2485ddfcd2..1f117be64e 100644
--- a/xfa/fxfa/parser/xfa_parser_imp.h
+++ b/xfa/fxfa/parser/xfa_parser_imp.h
@@ -109,7 +109,6 @@ class CXFA_DocumentParser : public IXFA_Parser {
CXFA_FFNotify* m_pNotify;
CXFA_Document* m_pDocument;
};
-typedef CFX_StackTemplate<CFDE_XMLNode*> CXFA_XMLNodeStack;
class CXFA_XMLParser : public CFDE_XMLParser {
public:
@@ -131,7 +130,7 @@ class CXFA_XMLParser : public CFDE_XMLParser {
CFDE_XMLSyntaxParser* m_pParser;
CFDE_XMLNode* m_pParent;
CFDE_XMLNode* m_pChild;
- CXFA_XMLNodeStack m_NodeStack;
+ CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack;
CFX_WideString m_ws1;
CFX_WideString m_ws2;
FDE_XmlSyntaxResult m_syntaxParserResult;