summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-17 15:14:06 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-17 15:14:06 +0000
commit8fc7dc6da9356e57f7318bff54e77fe567c5c6a1 (patch)
tree331d7aaec82d2b3ea6215c59d318306d17b6f34a /xfa/fxfa/cxfa_ffwidget.cpp
parentf22d4206c768856efdfbf0ec38af4386a706de3a (diff)
downloadpdfium-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.cpp2
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;