Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2592)

Unified Diff: core/fxcrt/include/fx_basic.h

Issue 2015743002: Banish CFX_PrivateData to the XFA side (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxcrt/fx_basic_util.cpp ('k') | xfa/fxfa/include/xfa_ffwidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcrt/include/fx_basic.h
diff --git a/core/fxcrt/include/fx_basic.h b/core/fxcrt/include/fx_basic.h
index 0f517e7217c4d714cc7e275bf91d9ada910ec6fb..73cb648a46b04b60508f3622c857cdbb3958048f 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:
« no previous file with comments | « core/fxcrt/fx_basic_util.cpp ('k') | xfa/fxfa/include/xfa_ffwidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698