diff options
author | tsepez <tsepez@chromium.org> | 2016-05-16 17:05:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 17:05:38 -0700 |
commit | 3857904e520ecb06bad545e4e4bfcf4e60dd1f52 (patch) | |
tree | 20f4108f4f09cdfdce50ff2b788c8c8d481cd7ea /xfa/fxfa/parser | |
parent | 3301ab30aeec548833eb2d693bd3eebf9d1c28ce (diff) | |
download | pdfium-3857904e520ecb06bad545e4e4bfcf4e60dd1f52.tar.xz |
Remove Release() { delete this; } in CFXA_Data{Importer,Exporter}
Review-Url: https://codereview.chromium.org/1988453002
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r-- | xfa/fxfa/parser/xfa_document_serialize.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_document_serialize.h b/xfa/fxfa/parser/xfa_document_serialize.h index 6448953231..9136efce90 100644 --- a/xfa/fxfa/parser/xfa_document_serialize.h +++ b/xfa/fxfa/parser/xfa_document_serialize.h @@ -19,7 +19,6 @@ class CXFA_DataImporter { public: explicit CXFA_DataImporter(CXFA_Document* pDocument); - void Release() { delete this; } FX_BOOL ImportData(IFX_FileRead* pDataDocument); protected: @@ -30,7 +29,6 @@ class CXFA_DataExporter { public: explicit CXFA_DataExporter(CXFA_Document* pDocument); - void Release() { delete this; } FX_BOOL Export(IFX_FileWrite* pWrite); FX_BOOL Export(IFX_FileWrite* pWrite, CXFA_Node* pNode, @@ -42,6 +40,7 @@ class CXFA_DataExporter { CXFA_Node* pNode, uint32_t dwFlag, const FX_CHAR* pChecksum); + CXFA_Document* const m_pDocument; }; |