summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-17 15:28:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-17 15:28:26 +0000
commita49dc5b6fc0cb08991c111c747b35d9a4ec45b3f (patch)
tree5686a5f75471035881ce88774eedd5369befd2ae /xfa/fxfa/cxfa_ffwidget.cpp
parent7577d5ccc34a6ab8d12d20766173338cb3466fb6 (diff)
downloadpdfium-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_ffwidget.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffwidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp
index f6806f6841..b24b6dacab 100644
--- a/xfa/fxfa/cxfa_ffwidget.cpp
+++ b/xfa/fxfa/cxfa_ffwidget.cpp
@@ -1091,8 +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, &mtImage,
- FXDIB_INTERPOL);
+ CXFA_ImageRenderer imageRender(pRenderDevice, pDIBitmap, &mtImage);
if (!imageRender.Start()) {
return;
}