diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-17 15:28:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-17 15:28:26 +0000 |
commit | a49dc5b6fc0cb08991c111c747b35d9a4ec45b3f (patch) | |
tree | 5686a5f75471035881ce88774eedd5369befd2ae /xfa/fxfa/cxfa_imagerenderer.h | |
parent | 7577d5ccc34a6ab8d12d20766173338cb3466fb6 (diff) | |
download | pdfium-a49dc5b6fc0cb08991c111c747b35d9a4ec45b3f.tar.xz |
Remove flags param from CXFA_ImageRenderer
The flags are always set to the same value. This CL removes them and
inlines the value as needed.
Change-Id: I379a053aee31829229d83291d666904564b99aea
Reviewed-on: https://pdfium-review.googlesource.com/23057
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_imagerenderer.h')
-rw-r--r-- | xfa/fxfa/cxfa_imagerenderer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_imagerenderer.h b/xfa/fxfa/cxfa_imagerenderer.h index 7e013d3243..8ed9ab0c75 100644 --- a/xfa/fxfa/cxfa_imagerenderer.h +++ b/xfa/fxfa/cxfa_imagerenderer.h @@ -23,8 +23,7 @@ class CXFA_ImageRenderer { public: CXFA_ImageRenderer(CFX_RenderDevice* pDevice, const RetainPtr<CFX_DIBSource>& pDIBSource, - const CFX_Matrix* pImage2Device, - uint32_t flags); + const CFX_Matrix* pImage2Device); ~CXFA_ImageRenderer(); bool Start(); @@ -40,7 +39,6 @@ class CXFA_ImageRenderer { CFX_Matrix m_ImageMatrix; RetainPtr<CFX_DIBSource> m_pDIBSource; RetainPtr<CFX_DIBitmap> m_pCloneConvert; - uint32_t m_Flags; std::unique_ptr<CFX_ImageTransformer> m_pTransformer; std::unique_ptr<CFX_ImageRenderer> m_DeviceHandle; }; |