From bc7e310b027809562eb589bfef72737c193ee27a Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 3 Jul 2018 17:17:54 +0000 Subject: Use UnownedPtr<> in cxfa_{ffwidgethandler,imagrenderer,loadercontext}.h Change-Id: I25496c9792a99ca27d2ab84c267770ff941cf921 Reviewed-on: https://pdfium-review.googlesource.com/36912 Reviewed-by: dsinclair Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffwidgethandler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffwidgethandler.h') diff --git a/xfa/fxfa/cxfa_ffwidgethandler.h b/xfa/fxfa/cxfa_ffwidgethandler.h index 975f3607e4..f2b6ae0d1c 100644 --- a/xfa/fxfa/cxfa_ffwidgethandler.h +++ b/xfa/fxfa/cxfa_ffwidgethandler.h @@ -9,6 +9,7 @@ #include +#include "core/fxcrt/unowned_ptr.h" #include "xfa/fxfa/cxfa_eventparam.h" #include "xfa/fxfa/fxfa.h" #include "xfa/fxfa/parser/cxfa_document.h" @@ -123,7 +124,7 @@ class CXFA_FFWidgetHandler { CXFA_Document* GetObjFactory() const; CXFA_Document* GetXFADoc() const; - CXFA_FFDocView* m_pDocView; + UnownedPtr m_pDocView; }; #endif // XFA_FXFA_CXFA_FFWIDGETHANDLER_H_ -- cgit v1.2.3