summaryrefslogtreecommitdiff
path: root/xfa/src/fgas/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-12-04 09:54:14 -0800
committerTom Sepez <tsepez@chromium.org>2014-12-04 09:54:14 -0800
commit553efe2b5cf65959fa1e547ebb66ffc60b678028 (patch)
tree4a10258f648154d1e1b74ab465a3a954269e7091 /xfa/src/fgas/include
parent8ad0040bbb42d7738965eea99e029145cce0b24e (diff)
downloadpdfium-553efe2b5cf65959fa1e547ebb66ffc60b678028.tar.xz
Replace void* pointers with CFX_BaseMassArrayImp* pointers.
Using an incomplete type here avoids casting later on, and allows the debugger to more easily dig through these data structures. R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/766183009
Diffstat (limited to 'xfa/src/fgas/include')
-rw-r--r--xfa/src/fgas/include/fx_utl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/src/fgas/include/fx_utl.h b/xfa/src/fgas/include/fx_utl.h
index 3bb7b61986..354d4bf2bb 100644
--- a/xfa/src/fgas/include/fx_utl.h
+++ b/xfa/src/fgas/include/fx_utl.h
@@ -11,6 +11,7 @@ class CFX_BaseArray;
template<class baseType> class CFX_BaseArrayTemplate;
template<class baseType> class CFX_ObjectBaseArrayTemplate;
class CFX_BaseMassArray;
+class CFX_BaseMassArrayImp;
template<class baseType> class CFX_MassArrayTemplate;
template<class baseType> class CFX_ObjectMassArrayTemplate;
class CFX_BaseDiscreteArray;
@@ -233,7 +234,7 @@ protected:
FX_INT32 Copy(const CFX_BaseMassArray &src, FX_INT32 iStart = 0, FX_INT32 iCount = -1);
FX_INT32 RemoveLast(FX_INT32 iCount = -1);
void RemoveAll(FX_BOOL bLeaveMemory = FALSE);
- FX_LPVOID m_pData;
+ CFX_BaseMassArrayImp* m_pData;
};
template<class baseType>
class CFX_MassArrayTemplate : public CFX_BaseMassArray
@@ -431,7 +432,7 @@ protected:
FX_INT32 GetSize() const;
FX_LPBYTE GetAt(FX_INT32 index) const;
void RemoveAll(FX_BOOL bLeaveMemory = FALSE);
- FX_LPVOID m_pData;
+ CFX_BaseMassArrayImp* m_pData;
};
template<class baseType>
class CFX_StackTemplate : public CFX_BaseStack