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_ffwidget.cpp | |
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_ffwidget.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp index def2ee3139..34965236f9 100644 --- a/xfa/fxfa/cxfa_ffwidget.cpp +++ b/xfa/fxfa/cxfa_ffwidget.cpp @@ -1091,7 +1091,7 @@ void XFA_DrawImage(CXFA_Graphics* pGS, CFX_Matrix(rtFit.width, 0, 0, rtFit.height, rtFit.left, rtFit.top)); mtImage.Concat(matrix); - CXFA_ImageRenderer imageRender(pRenderDevice, pDIBitmap, 0, 255, &mtImage, + CXFA_ImageRenderer imageRender(pRenderDevice, pDIBitmap, 0, &mtImage, FXDIB_INTERPOL); if (!imageRender.Start()) { return; |