Index: xfa/fwl/core/fwl_noteimp.h |
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h |
index c92395a13a955e6cfac6a4f71794124b3151026a..f923c395d518e521db0773cf30eb9bb9e90ad947 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; |