| Index: core/fxcrt/include/fx_basic.h
|
| diff --git a/core/fxcrt/include/fx_basic.h b/core/fxcrt/include/fx_basic.h
|
| index d3dce8c7498169928a3cf8dfcbc14da8423fe900..848429e8f3dd7679469f4407b3cb3582ccc40f1b 100644
|
| --- a/core/fxcrt/include/fx_basic.h
|
| +++ b/core/fxcrt/include/fx_basic.h
|
| @@ -911,11 +911,13 @@ typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>,
|
| FX_FILESIZE> CFX_FileSizeListArray;
|
|
|
| #ifdef PDF_ENABLE_XFA
|
| -class IFX_Unknown {
|
| +class IFX_Retainable {
|
| public:
|
| - virtual ~IFX_Unknown() {}
|
| + virtual uint32_t Retain() = 0;
|
| virtual uint32_t Release() = 0;
|
| - virtual uint32_t AddRef() = 0;
|
| +
|
| + protected:
|
| + virtual ~IFX_Retainable() {}
|
| };
|
| #define FX_IsOdd(a) ((a)&1)
|
| #endif // PDF_ENABLE_XFA
|
|
|