summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_xml_parser.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-03 10:54:15 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-03-03 19:34:55 +0000
commit9a785afee976e60fa2bd3d462cdcb1c3636d97dd (patch)
treeb00b4171b560583fa92904c8955699bbce757ffe /xfa/fxfa/parser/cxfa_xml_parser.h
parentd4db58fa238a3e6f80fc87bc7fe539cd9f54aa7f (diff)
downloadpdfium-9a785afee976e60fa2bd3d462cdcb1c3636d97dd.tar.xz
remove CFX_StackTemplate<CFDE_XMLNode*>chromium/3030
Change-Id: I1112d18e0d18514227d363b3010eb8f90fb0ffe4 Reviewed-on: https://pdfium-review.googlesource.com/2910 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_xml_parser.h')
-rw-r--r--xfa/fxfa/parser/cxfa_xml_parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_xml_parser.h b/xfa/fxfa/parser/cxfa_xml_parser.h
index 9393b7e597..a631df02dc 100644
--- a/xfa/fxfa/parser/cxfa_xml_parser.h
+++ b/xfa/fxfa/parser/cxfa_xml_parser.h
@@ -8,6 +8,7 @@
#define XFA_FXFA_PARSER_CXFA_XML_PARSER_H_
#include <memory>
+#include <stack>
#include "xfa/fde/xml/fde_xml_imp.h"
@@ -16,7 +17,7 @@ class IFX_Pause;
class CXFA_XMLParser : public IFDE_XMLParser {
public:
- CXFA_XMLParser(CFDE_XMLNode* pRoot,
+ CXFA_XMLParser(CFDE_XMLNode* pParent,
const CFX_RetainPtr<IFGAS_Stream>& pStream);
~CXFA_XMLParser() override;
@@ -29,13 +30,12 @@ class CXFA_XMLParser : public IFDE_XMLParser {
uint16_t m_dwCheckStatus;
uint16_t m_dwCurrentCheckStatus;
- protected:
- CFDE_XMLNode* m_pRoot;
+ private:
CFX_RetainPtr<IFGAS_Stream> m_pStream;
std::unique_ptr<CFDE_XMLSyntaxParser> m_pParser;
CFDE_XMLNode* m_pParent;
CFDE_XMLNode* m_pChild;
- CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack;
+ std::stack<CFDE_XMLNode*> m_NodeStack;
CFX_WideString m_ws1;
CFX_WideString m_ws2;
FDE_XmlSyntaxResult m_syntaxParserResult;