summaryrefslogtreecommitdiff
path: root/core/fxcrt/include
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-25 16:57:11 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-25 16:57:11 -0700
commit7fa5513e973f9ee6bd34b9ca1e76ad208598191f (patch)
treecfa2fd3d93c2c4c7649de2266188d6b3d2676d7c /core/fxcrt/include
parentec3da5b821ed65c53eff1c78c2493afd7d933371 (diff)
downloadpdfium-7fa5513e973f9ee6bd34b9ca1e76ad208598191f.tar.xz
Banish CFX_PrivateData to the XFA side
Remove an unused inheritance. The remaining usages are a little more intricate. Review-Url: https://codereview.chromium.org/2015743002
Diffstat (limited to 'core/fxcrt/include')
-rw-r--r--core/fxcrt/include/fx_basic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fxcrt/include/fx_basic.h b/core/fxcrt/include/fx_basic.h
index 0f517e7217..73cb648a46 100644
--- a/core/fxcrt/include/fx_basic.h
+++ b/core/fxcrt/include/fx_basic.h
@@ -618,8 +618,9 @@ class CFX_PtrList {
public:
~CFX_PtrList();
};
-typedef void (*PD_CALLBACK_FREEDATA)(void* pData);
+#ifdef PDF_ENABLE_XFA
+typedef void (*PD_CALLBACK_FREEDATA)(void* pData);
struct FX_PRIVATEDATA {
void FreeData();
@@ -666,6 +667,7 @@ class CFX_PrivateData {
PD_CALLBACK_FREEDATA callback,
FX_BOOL bSelfDestruct);
};
+#endif // PDF_ENABLE_XFA
class CFX_BitStream {
public: