summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_xml_parser.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2017-01-23 11:01:42 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-23 11:01:42 -0800
commitc757d9a6f90bb879ce2cdd4a756b7b0e1885eb25 (patch)
tree34847e86907f80d508598eadbb13b463395b49fe /xfa/fxfa/parser/cxfa_xml_parser.h
parent82aa396188ec26f22fe730f4e35b5a54ebffb5dc (diff)
downloadpdfium-c757d9a6f90bb879ce2cdd4a756b7b0e1885eb25.tar.xz
Remove some |void Release() { delete this; }| anti-pattern.
m_pSyntaxParser was unused. Review-Url: https://codereview.chromium.org/2646203002
Diffstat (limited to 'xfa/fxfa/parser/cxfa_xml_parser.h')
-rw-r--r--xfa/fxfa/parser/cxfa_xml_parser.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_xml_parser.h b/xfa/fxfa/parser/cxfa_xml_parser.h
index e49a9dd127..9393b7e597 100644
--- a/xfa/fxfa/parser/cxfa_xml_parser.h
+++ b/xfa/fxfa/parser/cxfa_xml_parser.h
@@ -32,8 +32,7 @@ class CXFA_XMLParser : public IFDE_XMLParser {
protected:
CFDE_XMLNode* m_pRoot;
CFX_RetainPtr<IFGAS_Stream> m_pStream;
- std::unique_ptr<CFDE_XMLSyntaxParser, ReleaseDeleter<CFDE_XMLSyntaxParser>>
- m_pParser;
+ std::unique_ptr<CFDE_XMLSyntaxParser> m_pParser;
CFDE_XMLNode* m_pParent;
CFDE_XMLNode* m_pChild;
CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack;