summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_xmlparser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-25 14:29:32 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-25 14:29:32 +0000
commitac19439e28b67289b8ea60fea7d2806cbaa150c9 (patch)
tree066170b5797fb7e415e51ed694d057421f827d15 /core/fxcrt/xml/cfx_xmlparser.h
parenta1d344230925e94bbf43a62ddc814321056c68d5 (diff)
downloadpdfium-ac19439e28b67289b8ea60fea7d2806cbaa150c9.tar.xz
Remove m_NodeStack from CFX_XMLParserchromium/3408
This CL removes the m_NodeStack member from the CFX_XMLParser. Instead of using the node stack we retrieve the parent by getting the current childs parent. Change-Id: I0c4c220d14e35c5b6edc5c9c6a3008368f2d550a Reviewed-on: https://pdfium-review.googlesource.com/31290 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlparser.h')
-rw-r--r--core/fxcrt/xml/cfx_xmlparser.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/fxcrt/xml/cfx_xmlparser.h b/core/fxcrt/xml/cfx_xmlparser.h
index 6db24e5040..e2a2d5b30f 100644
--- a/core/fxcrt/xml/cfx_xmlparser.h
+++ b/core/fxcrt/xml/cfx_xmlparser.h
@@ -61,14 +61,10 @@ class CFX_XMLParser {
AttriEqualSign,
AttriQuotation,
AttriValue,
- Entity,
- EntityDecimal,
- EntityHex,
CloseInstruction,
BreakElement,
CloseElement,
SkipDeclNode,
- DeclCharData,
SkipComment,
SkipCommentOrDecl,
SkipCData,
@@ -86,7 +82,6 @@ class CFX_XMLParser {
FX_FILESIZE m_End = 0; // End position in m_Buffer
FX_XmlSyntaxResult m_syntaxParserResult = FX_XmlSyntaxResult::None;
FDE_XmlSyntaxState m_syntaxParserState = FDE_XmlSyntaxState::Text;
- std::stack<CFX_XMLNode*> m_NodeStack;
std::stack<FX_XMLNODETYPE> m_XMLNodeTypeStack;
std::stack<wchar_t> m_SkipStack;
std::vector<wchar_t> m_Buffer;