summaryrefslogtreecommitdiff
path: root/xfa/fxfa/include
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-09 14:08:11 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 14:08:11 -0700
commit77b909e059283c1d4c1654a626fc05c584af11a3 (patch)
treee474e1ac1b04dfeb58c2cd1ea63fc180bd0b0b6f /xfa/fxfa/include
parent8bd9ce00a0755d72c9b5b8ad43d8f50c2f51e5c5 (diff)
downloadpdfium-77b909e059283c1d4c1654a626fc05c584af11a3.tar.xz
Remove more casts, part 7.
Replacing a void* member in CFX_SAXItem saves lots of casts. Review-Url: https://codereview.chromium.org/2051233002
Diffstat (limited to 'xfa/fxfa/include')
-rw-r--r--xfa/fxfa/include/xfa_checksum.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/fxfa/include/xfa_checksum.h b/xfa/fxfa/include/xfa_checksum.h
index a5e5592cec..e959a8053a 100644
--- a/xfa/fxfa/include/xfa_checksum.h
+++ b/xfa/fxfa/include/xfa_checksum.h
@@ -27,23 +27,23 @@ class CXFA_SAXReaderHandler {
CXFA_SAXReaderHandler(CXFA_ChecksumContext* pContext);
~CXFA_SAXReaderHandler();
- void* OnTagEnter(const CFX_ByteStringC& bsTagName,
- CFX_SAXItem::Type eType,
- uint32_t dwStartPos);
- void OnTagAttribute(void* pTag,
+ CXFA_SAXContext* OnTagEnter(const CFX_ByteStringC& bsTagName,
+ CFX_SAXItem::Type eType,
+ uint32_t dwStartPos);
+ void OnTagAttribute(CXFA_SAXContext* pTag,
const CFX_ByteStringC& bsAttri,
const CFX_ByteStringC& bsValue);
- void OnTagBreak(void* pTag);
- void OnTagData(void* pTag,
+ void OnTagBreak(CXFA_SAXContext* pTag);
+ void OnTagData(CXFA_SAXContext* pTag,
CFX_SAXItem::Type eType,
const CFX_ByteStringC& bsData,
uint32_t dwStartPos);
- void OnTagClose(void* pTag, uint32_t dwEndPos);
- void OnTagEnd(void* pTag,
+ void OnTagClose(CXFA_SAXContext* pTag, uint32_t dwEndPos);
+ void OnTagEnd(CXFA_SAXContext* pTag,
const CFX_ByteStringC& bsTagName,
uint32_t dwEndPos);
- void OnTargetData(void* pTag,
+ void OnTargetData(CXFA_SAXContext* pTag,
CFX_SAXItem::Type eType,
const CFX_ByteStringC& bsData,
uint32_t dwStartPos);