summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidgethandler.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-03 17:17:54 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-03 17:17:54 +0000
commitbc7e310b027809562eb589bfef72737c193ee27a (patch)
tree4ae752970fd391c9687d1b17fc0c385373398896 /xfa/fxfa/cxfa_ffwidgethandler.h
parent1c14ae2fbe1ae95dac3a7f5e60d049d9630aef02 (diff)
downloadpdfium-bc7e310b027809562eb589bfef72737c193ee27a.tar.xz
Use UnownedPtr<> in cxfa_{ffwidgethandler,imagrenderer,loadercontext}.h
Change-Id: I25496c9792a99ca27d2ab84c267770ff941cf921 Reviewed-on: https://pdfium-review.googlesource.com/36912 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidgethandler.h')
-rw-r--r--xfa/fxfa/cxfa_ffwidgethandler.h3
1 files changed, 2 insertions, 1 deletions
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 <vector>
+#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<CXFA_FFDocView> m_pDocView;
};
#endif // XFA_FXFA_CXFA_FFWIDGETHANDLER_H_