diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-03 17:17:54 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-03 17:17:54 +0000 |
commit | bc7e310b027809562eb589bfef72737c193ee27a (patch) | |
tree | 4ae752970fd391c9687d1b17fc0c385373398896 /xfa/fxfa/cxfa_imagerenderer.h | |
parent | 1c14ae2fbe1ae95dac3a7f5e60d049d9630aef02 (diff) | |
download | pdfium-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_imagerenderer.h')
-rw-r--r-- | xfa/fxfa/cxfa_imagerenderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_imagerenderer.h b/xfa/fxfa/cxfa_imagerenderer.h index 8ed9ab0c75..236c3ccc5a 100644 --- a/xfa/fxfa/cxfa_imagerenderer.h +++ b/xfa/fxfa/cxfa_imagerenderer.h @@ -11,6 +11,7 @@ #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/retain_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/fx_dib.h" class CFX_RenderDevice; @@ -34,7 +35,7 @@ class CXFA_ImageRenderer { int left, int top); - CFX_RenderDevice* m_pDevice; + UnownedPtr<CFX_RenderDevice> m_pDevice; int m_Status = 0; CFX_Matrix m_ImageMatrix; RetainPtr<CFX_DIBSource> m_pDIBSource; |