diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-24 13:21:45 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-24 22:34:21 +0000 |
commit | edc1e4e5baac33c8f2799e82ff52fd556d3c5e02 (patch) | |
tree | 0811327da4c67fe4babb07d299619382445c8be8 /core/fpdfapi/render/cpdf_transferfunc.h | |
parent | 4734512572776f8fc705e28fba8a46d981372e99 (diff) | |
download | pdfium-edc1e4e5baac33c8f2799e82ff52fd556d3c5e02.tar.xz |
Convert to CFX_UnownedPtr, part 9
Change-Id: Ia1151e0855accda0873251938a521df1913c73fa
Reviewed-on: https://pdfium-review.googlesource.com/5852
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_transferfunc.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_transferfunc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_transferfunc.h b/core/fpdfapi/render/cpdf_transferfunc.h index 82e7a39037..ad7bf28c2f 100644 --- a/core/fpdfapi/render/cpdf_transferfunc.h +++ b/core/fpdfapi/render/cpdf_transferfunc.h @@ -8,6 +8,7 @@ #define CORE_FPDFAPI_RENDER_CPDF_TRANSFERFUNC_H_ #include "core/fxcrt/cfx_retain_ptr.h" +#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxge/fx_dib.h" class CPDF_Document; @@ -22,7 +23,7 @@ class CPDF_TransferFunc : public CFX_Retainable { CFX_RetainPtr<CFX_DIBSource> TranslateImage( const CFX_RetainPtr<CFX_DIBSource>& pSrc); - CPDF_Document* const m_pPDFDoc; + CFX_UnownedPtr<CPDF_Document> const m_pPDFDoc; bool m_bIdentity; uint8_t m_Samples[256 * 3]; |