Index: xfa/fwl/basewidget/fwl_editimp.h |
diff --git a/xfa/fwl/basewidget/fwl_editimp.h b/xfa/fwl/basewidget/fwl_editimp.h |
index 3f7a3862dde7de6941ac7c38cafcadf65f1dca20..e17a4cfc0942b35133e285dbadce0e290ce5a238 100644 |
--- a/xfa/fwl/basewidget/fwl_editimp.h |
+++ b/xfa/fwl/basewidget/fwl_editimp.h |
@@ -152,7 +152,7 @@ class CFWL_EditImp : public CFWL_WidgetImp { |
FX_FLOAT m_fVAlignOffset; |
FX_FLOAT m_fScrollOffsetX; |
FX_FLOAT m_fScrollOffsetY; |
- CFDE_TxtEdtEngine* m_pEdtEngine; |
+ std::unique_ptr<CFDE_TxtEdtEngine> m_pEdtEngine; |
FX_BOOL m_bLButtonDown; |
int32_t m_nSelStart; |
int32_t m_nLimit; |