| Index: xfa/fwl/core/cfwl_event.h
|
| diff --git a/xfa/fwl/core/cfwl_event.h b/xfa/fwl/core/cfwl_event.h
|
| index e7bc15ad58a9b066d48fcb8495aa457d7e9dd748..a20abaa2a2637f4e1a31e55479a9b553b6e38773 100644
|
| --- a/xfa/fwl/core/cfwl_event.h
|
| +++ b/xfa/fwl/core/cfwl_event.h
|
| @@ -78,17 +78,12 @@ class CFWL_Event {
|
|
|
| virtual CFWL_EventType GetClassID() const;
|
|
|
| - uint32_t Release();
|
| -
|
| IFWL_Widget* m_pSrcTarget;
|
| IFWL_Widget* m_pDstTarget;
|
| -
|
| - private:
|
| - uint32_t m_dwRefCount;
|
| };
|
|
|
| inline CFWL_Event::CFWL_Event()
|
| - : m_pSrcTarget(nullptr), m_pDstTarget(nullptr), m_dwRefCount(1) {}
|
| + : m_pSrcTarget(nullptr), m_pDstTarget(nullptr) {}
|
|
|
| inline CFWL_Event::~CFWL_Event() {}
|
|
|
| @@ -96,14 +91,6 @@ inline CFWL_EventType CFWL_Event::GetClassID() const {
|
| return CFWL_EventType::None;
|
| }
|
|
|
| -inline uint32_t CFWL_Event::Release() {
|
| - m_dwRefCount--;
|
| - uint32_t dwRefCount = m_dwRefCount;
|
| - if (!m_dwRefCount)
|
| - delete this;
|
| - return dwRefCount;
|
| -}
|
| -
|
| #define FWL_EVENT_DEF(classname, eventType, ...) \
|
| class classname : public CFWL_Event { \
|
| public: \
|
|
|