summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_document_parser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-12 13:54:39 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-12 13:54:39 +0000
commit7023b8877475dda639a15d623b5a552f88a6812f (patch)
tree419e9359df5e36941e61ee18b3a470666253d379 /xfa/fxfa/parser/cxfa_document_parser.h
parentbabeeb69b1744e414b46d77de03689682742d99d (diff)
downloadpdfium-7023b8877475dda639a15d623b5a552f88a6812f.tar.xz
Remove CXFA_DocumentParser::m_bDocumentParser flag
This CL removes the import data behaviour as it was never called and cleans up the m_bDocumentParser flag as it will always be used in the true case. Change-Id: If90a0a55cc76f406e9987aa71580e90edeaa01ba Reviewed-on: https://pdfium-review.googlesource.com/30292 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document_parser.h')
-rw-r--r--xfa/fxfa/parser/cxfa_document_parser.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser.h b/xfa/fxfa/parser/cxfa_document_parser.h
index 8899494c79..acd27e6238 100644
--- a/xfa/fxfa/parser/cxfa_document_parser.h
+++ b/xfa/fxfa/parser/cxfa_document_parser.h
@@ -22,7 +22,6 @@ class CFX_SeekableStreamProxy;
class CXFA_DocumentParser {
public:
- CXFA_DocumentParser();
explicit CXFA_DocumentParser(CXFA_Document* pFactory);
~CXFA_DocumentParser();
@@ -35,9 +34,6 @@ class CXFA_DocumentParser {
std::unique_ptr<CFX_XMLNode> GetXMLRoot() { return std::move(m_pNodeTree); }
CXFA_Node* GetRootNode() const;
- // Called later for the ctor with no parameters.
- void SetFactory(CXFA_Document* pFactory);
-
private:
std::unique_ptr<CFX_XMLNode> LoadXML(
const RetainPtr<CFX_SeekableStreamProxy>& pStream);
@@ -80,7 +76,6 @@ class CXFA_DocumentParser {
std::unique_ptr<CFX_XMLNode> m_pNodeTree;
// TODO(dsinclair): Figure out who owns this.
CXFA_Node* m_pRootNode = nullptr;
- const bool m_bDocumentParser;
};
#endif // XFA_FXFA_PARSER_CXFA_DOCUMENT_PARSER_H_