summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_xml_parser.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-07 19:01:56 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-07 19:01:56 -0800
commit64f4e25304dfd93651ac5c9d5379ed2fffbb993f (patch)
tree67f755611451432631bd27c494236b8b6ee418b4 /xfa/fxfa/parser/cxfa_xml_parser.cpp
parent1306b180a6a8e306a7d00db9cdaa983784c354ed (diff)
downloadpdfium-64f4e25304dfd93651ac5c9d5379ed2fffbb993f.tar.xz
Use unique_ptr for CXFA_XMLParser.
Also rename CFDE_XMLParser to IFDE_XMLParser since its an interface. Review-Url: https://codereview.chromium.org/2555373002
Diffstat (limited to 'xfa/fxfa/parser/cxfa_xml_parser.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_xml_parser.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_xml_parser.cpp b/xfa/fxfa/parser/cxfa_xml_parser.cpp
index 6d2ef350d9..95920d9773 100644
--- a/xfa/fxfa/parser/cxfa_xml_parser.cpp
+++ b/xfa/fxfa/parser/cxfa_xml_parser.cpp
@@ -29,10 +29,6 @@ CXFA_XMLParser::~CXFA_XMLParser() {
m_ws2.clear();
}
-void CXFA_XMLParser::Release() {
- delete this;
-}
-
int32_t CXFA_XMLParser::DoParser(IFX_Pause* pPause) {
if (m_syntaxParserResult == FDE_XmlSyntaxResult::Error)
return -1;