Index: xfa/fwl/core/fwl_widgetimp.h |
diff --git a/xfa/fwl/core/fwl_widgetimp.h b/xfa/fwl/core/fwl_widgetimp.h |
index d8c4fe6eb6e08eec33106f8765ccdf7d837f0a04..962bc999e85d9f2b96e5ed003197d76a27806571 100644 |
--- a/xfa/fwl/core/fwl_widgetimp.h |
+++ b/xfa/fwl/core/fwl_widgetimp.h |
@@ -7,6 +7,8 @@ |
#ifndef XFA_FWL_CORE_FWL_WIDGETIMP_H_ |
#define XFA_FWL_CORE_FWL_WIDGETIMP_H_ |
+#include <memory> |
+ |
#include "core/fxcrt/include/fx_coordinates.h" |
#include "core/fxcrt/include/fx_system.h" |
#include "xfa/fwl/core/cfwl_event.h" |
@@ -156,7 +158,7 @@ class CFWL_WidgetImp { |
CFWL_WidgetMgr* m_pWidgetMgr; |
CFWL_AppImp* m_pOwnerApp; |
- CFWL_WidgetImpProperties* m_pProperties; |
+ std::unique_ptr<CFWL_WidgetImpProperties> m_pProperties; |
IFWL_WidgetDelegate* m_pDelegate; |
IFWL_WidgetDelegate* m_pCurDelegate; |
IFWL_Widget* m_pOuter; |