diff options
Diffstat (limited to 'xfa/fwl/core/fwl_noteimp.h')
-rw-r--r-- | xfa/fwl/core/fwl_noteimp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h index c92395a13a..f923c395d5 100644 --- a/xfa/fwl/core/fwl_noteimp.h +++ b/xfa/fwl/core/fwl_noteimp.h @@ -7,6 +7,7 @@ #ifndef XFA_FWL_CORE_FWL_NOTEIMP_H_ #define XFA_FWL_CORE_FWL_NOTEIMP_H_ +#include <memory> #include <unordered_map> #include "xfa/fwl/core/cfwl_event.h" @@ -115,7 +116,7 @@ class CFWL_NoteDriver { IFWL_Widget* m_pHover; IFWL_Widget* m_pFocus; IFWL_Widget* m_pGrab; - CFWL_NoteLoop* m_pNoteLoop; + std::unique_ptr<CFWL_NoteLoop> m_pNoteLoop; }; class CFWL_EventTarget { @@ -147,7 +148,7 @@ class CFWL_ToolTipContainer final { ~CFWL_ToolTipContainer(); CFWL_ToolTipImp* m_pToolTipImp; - CFWL_CoreToolTipDP* m_ToolTipDp; + std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; private: static CFWL_ToolTipContainer* s_pInstance; |