summaryrefslogtreecommitdiff
path: root/xfa/fde/xml/fde_xml_imp.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-02 15:51:49 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-03-03 01:21:59 +0000
commitdffe8100d54ed837eb65d0c3ac2d50c95c96136a (patch)
tree13cdbc6774580ba8db49b54a21b87a9fc17b97de /xfa/fde/xml/fde_xml_imp.h
parent2079dce2ca47f3866f1dd5d51849c53362727f7b (diff)
downloadpdfium-dffe8100d54ed837eb65d0c3ac2d50c95c96136a.tar.xz
Remove CFX_StackTemplate from fde_xml_imp.h
Change-Id: I61552fba2387533699e917918318b002a14bba6b Reviewed-on: https://pdfium-review.googlesource.com/2912 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/xml/fde_xml_imp.h')
-rw-r--r--xfa/fde/xml/fde_xml_imp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fde/xml/fde_xml_imp.h b/xfa/fde/xml/fde_xml_imp.h
index 41e84bad17..216d6f7300 100644
--- a/xfa/fde/xml/fde_xml_imp.h
+++ b/xfa/fde/xml/fde_xml_imp.h
@@ -8,6 +8,7 @@
#define XFA_FDE_XML_FDE_XML_IMP_H_
#include <memory>
+#include <stack>
#include <vector>
#include "core/fxcrt/fx_system.h"
@@ -326,7 +327,7 @@ class CFDE_XMLSyntaxParser {
FX_WCHAR* m_pStart;
FX_WCHAR* m_pEnd;
FDE_XMLNODE m_CurNode;
- CFX_StackTemplate<FDE_XMLNODE> m_XMLNodeStack;
+ std::stack<FDE_XMLNODE> m_XMLNodeStack;
CFDE_BlockBuffer m_BlockBuffer;
int32_t m_iAllocStep;
int32_t& m_iDataLength;
@@ -337,7 +338,7 @@ class CFDE_XMLSyntaxParser {
FDE_XmlSyntaxState m_syntaxParserState;
FX_WCHAR m_wQuotationMark;
int32_t m_iEntityStart;
- CFX_StackTemplate<uint32_t> m_SkipStack;
+ std::stack<FX_WCHAR> m_SkipStack;
FX_WCHAR m_SkipChar;
};