summaryrefslogtreecommitdiff
path: root/xfa/fde/xml/cfde_xmlsyntaxparser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-05 16:34:44 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-05 21:11:15 +0000
commit480f62b8350f17a398cbf4f02b76b4368a62dce6 (patch)
tree210b891000969392c87506f2c4b616a3f66d6d08 /xfa/fde/xml/cfde_xmlsyntaxparser.h
parent3c67fbdbabee4195b72d1bd1d568cad3ecad9e96 (diff)
downloadpdfium-480f62b8350f17a398cbf4f02b76b4368a62dce6.tar.xz
Merge XMLSyntaxParser Init into constructor
This Init() method is always called right after construction. Merge together for clarity. Change-Id: Iab5bfe937e82b7a310e373dd139399bc1be7cea6 Reviewed-on: https://pdfium-review.googlesource.com/3814 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/xml/cfde_xmlsyntaxparser.h')
-rw-r--r--xfa/fde/xml/cfde_xmlsyntaxparser.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fde/xml/cfde_xmlsyntaxparser.h b/xfa/fde/xml/cfde_xmlsyntaxparser.h
index 9140a8345f..ef2cd275bd 100644
--- a/xfa/fde/xml/cfde_xmlsyntaxparser.h
+++ b/xfa/fde/xml/cfde_xmlsyntaxparser.h
@@ -35,11 +35,9 @@ enum class FDE_XmlSyntaxResult {
class CFDE_XMLSyntaxParser {
public:
- CFDE_XMLSyntaxParser();
+ explicit CFDE_XMLSyntaxParser(const CFX_RetainPtr<IFGAS_Stream>& pStream);
~CFDE_XMLSyntaxParser();
- void Init(const CFX_RetainPtr<IFGAS_Stream>& pStream, int32_t iXMLPlaneSize);
-
FDE_XmlSyntaxResult DoSyntaxParse();
int32_t GetStatus() const;