diff options
Diffstat (limited to 'xfa/fwl/cfwl_event.h')
-rw-r--r-- | xfa/fwl/cfwl_event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fwl/cfwl_event.h b/xfa/fwl/cfwl_event.h index 385abec12..ab9606d98 100644 --- a/xfa/fwl/cfwl_event.h +++ b/xfa/fwl/cfwl_event.h @@ -7,6 +7,7 @@ #ifndef XFA_FWL_CFWL_EVENT_H_ #define XFA_FWL_CFWL_EVENT_H_ +#include "core/fxcrt/unowned_ptr.h" #include "v8/include/cppgc/macros.h" class CFWL_Widget; @@ -41,8 +42,8 @@ class CFWL_Event { private: const Type m_type; - CFWL_Widget* const m_pSrcTarget = nullptr; - CFWL_Widget* const m_pDstTarget = nullptr; + UnownedPtr<CFWL_Widget> const m_pSrcTarget; + UnownedPtr<CFWL_Widget> const m_pDstTarget; }; #endif // XFA_FWL_CFWL_EVENT_H_ |