summaryrefslogtreecommitdiff
path: root/xfa/fxfa/include/xfa_checksum.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-18 11:39:15 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-18 11:39:15 -0700
commit501e8cdc9143d4b1bebd22e7bfdcae4368e459ee (patch)
treebfa380d7dfe06f2fbcf7b59b26a7f61bbb0de07f /xfa/fxfa/include/xfa_checksum.h
parent653951828cf934afb48b57989089a99b38620d02 (diff)
downloadpdfium-501e8cdc9143d4b1bebd22e7bfdcae4368e459ee.tar.xz
Remove Release() from CXFA_ChecksumContext
Review-Url: https://codereview.chromium.org/1991913002
Diffstat (limited to 'xfa/fxfa/include/xfa_checksum.h')
-rw-r--r--xfa/fxfa/include/xfa_checksum.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/include/xfa_checksum.h b/xfa/fxfa/include/xfa_checksum.h
index 6c7ea7a04c..f6b13e7cb7 100644
--- a/xfa/fxfa/include/xfa_checksum.h
+++ b/xfa/fxfa/include/xfa_checksum.h
@@ -60,14 +60,13 @@ class CXFA_ChecksumContext {
CXFA_ChecksumContext();
~CXFA_ChecksumContext();
- void Release() { delete this; }
void StartChecksum();
+ void Update(const CFX_ByteStringC& bsText);
FX_BOOL UpdateChecksum(IFX_FileRead* pSrcFile,
FX_FILESIZE offset = 0,
size_t size = 0);
void FinishChecksum();
- void GetChecksum(CFX_ByteString& bsChecksum);
- void Update(const CFX_ByteStringC& bsText);
+ CFX_ByteString GetChecksum() const;
protected:
CFX_SAXReader* m_pSAXReader;