From 2d7cb9267899902ce455165303e2373ac38c867d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 27 Jun 2018 16:14:51 +0000 Subject: Use unowned ptr for IFWL_ delegates Change-Id: I1e9059242dad254394b73c6fddb010b182e969f0 Reviewed-on: https://pdfium-review.googlesource.com/36230 Commit-Queue: dsinclair Reviewed-by: dsinclair --- xfa/fxfa/cxfa_fftextedit.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_fftextedit.h') diff --git a/xfa/fxfa/cxfa_fftextedit.h b/xfa/fxfa/cxfa_fftextedit.h index 9b61373df9..37604c14ba 100644 --- a/xfa/fxfa/cxfa_fftextedit.h +++ b/xfa/fxfa/cxfa_fftextedit.h @@ -9,6 +9,7 @@ #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" #include "xfa/fxfa/cxfa_fffield.h" class CFWL_Event; @@ -63,7 +64,7 @@ class CXFA_FFTextEdit : public CXFA_FFField { protected: uint32_t GetAlignment(); - IFWL_WidgetDelegate* m_pOldDelegate; + UnownedPtr m_pOldDelegate; private: bool CommitData() override; -- cgit v1.2.3