diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-17 15:14:06 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-17 15:14:06 +0000 |
commit | 8fc7dc6da9356e57f7318bff54e77fe567c5c6a1 (patch) | |
tree | 331d7aaec82d2b3ea6215c59d318306d17b6f34a /xfa/fxfa/cxfa_imagerenderer.h | |
parent | f22d4206c768856efdfbf0ec38af4386a706de3a (diff) | |
download | pdfium-8fc7dc6da9356e57f7318bff54e77fe567c5c6a1.tar.xz |
Remove bitmap alpha from CXFA_ImageRenderer
The bitmap alpha value is always set to 255, this CL removes the
parameter and passes 255 directly where needed.
Change-Id: I435fbdd00121cae4dda0e2a790b339993f5e8a07
Reviewed-on: https://pdfium-review.googlesource.com/23051
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_imagerenderer.h b/xfa/fxfa/cxfa_imagerenderer.h index 6a165b53e4..45ab32721d 100644 --- a/xfa/fxfa/cxfa_imagerenderer.h +++ b/xfa/fxfa/cxfa_imagerenderer.h @@ -24,7 +24,6 @@ class CXFA_ImageRenderer { CXFA_ImageRenderer(CFX_RenderDevice* pDevice, const RetainPtr<CFX_DIBSource>& pDIBSource, FX_ARGB bitmap_argb, - int bitmap_alpha, const CFX_Matrix* pImage2Device, uint32_t flags); ~CXFA_ImageRenderer(); @@ -37,7 +36,6 @@ class CXFA_ImageRenderer { int left, int top, FX_ARGB mask_argb, - int bitmap_alpha, int blend_mode, int iTransparency); @@ -46,7 +44,6 @@ class CXFA_ImageRenderer { CFX_Matrix m_ImageMatrix; RetainPtr<CFX_DIBSource> m_pDIBSource; RetainPtr<CFX_DIBitmap> m_pCloneConvert; - int m_BitmapAlpha; FX_ARGB m_FillArgb; uint32_t m_Flags; std::unique_ptr<CFX_ImageTransformer> m_pTransformer; |