From 480f62b8350f17a398cbf4f02b76b4368a62dce6 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 5 Apr 2017 16:34:44 -0400 Subject: 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 Commit-Queue: dsinclair --- xfa/fde/xml/cfde_xmlsyntaxparser.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xfa/fde/xml/cfde_xmlsyntaxparser.h') 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& pStream); ~CFDE_XMLSyntaxParser(); - void Init(const CFX_RetainPtr& pStream, int32_t iXMLPlaneSize); - FDE_XmlSyntaxResult DoSyntaxParse(); int32_t GetStatus() const; -- cgit v1.2.3