summaryrefslogtreecommitdiff
path: root/xfa/fde/xml/cfx_saxreader.h
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/fde/xml/cfx_saxreader.h
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/fde/xml/cfx_saxreader.h')
-rw-r--r--xfa/fde/xml/cfx_saxreader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fde/xml/cfx_saxreader.h b/xfa/fde/xml/cfx_saxreader.h
index 18aa039ccc..e602c3d9e2 100644
--- a/xfa/fde/xml/cfx_saxreader.h
+++ b/xfa/fde/xml/cfx_saxreader.h
@@ -9,6 +9,8 @@
#include "core/fxcrt/include/fx_basic.h"
+class CXFA_SAXContext;
+
class CFX_SAXItem {
public:
enum class Type {
@@ -29,7 +31,7 @@ class CFX_SAXItem {
m_pPrev(nullptr),
m_pNext(nullptr) {}
- void* m_pNode;
+ CXFA_SAXContext* m_pNode;
Type m_eNode;
uint32_t m_dwID;
FX_BOOL m_bSkip;