summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-25 19:28:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-25 19:28:10 +0000
commit5ada7bcf1f200eaa8d78ea2c74233b6b54f6d5f5 (patch)
treed30f97e0b55be2a3ca3b720e80e075d36f11e941 /xfa
parent0c327657fb8c23934c5beae520e7a97a48e2eef6 (diff)
downloadpdfium-5ada7bcf1f200eaa8d78ea2c74233b6b54f6d5f5.tar.xz
Change StartDIBits() to take a matrix by reference.
In RenderDeviceDriverIface and related classes, and for related methods in the call stack. Change-Id: I420fafe70084eb3941dffc6f9f51ecbed79581de Reviewed-on: https://pdfium-review.googlesource.com/c/44552 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/cxfa_imagerenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_imagerenderer.cpp b/xfa/fxfa/cxfa_imagerenderer.cpp
index 9cfccb9c7a..49f953b7b9 100644
--- a/xfa/fxfa/cxfa_imagerenderer.cpp
+++ b/xfa/fxfa/cxfa_imagerenderer.cpp
@@ -20,7 +20,7 @@ CXFA_ImageRenderer::CXFA_ImageRenderer(CFX_RenderDevice* pDevice,
CXFA_ImageRenderer::~CXFA_ImageRenderer() {}
bool CXFA_ImageRenderer::Start() {
- if (m_pDevice->StartDIBitsWithBlend(m_pDIBBase, 255, 0, &m_ImageMatrix,
+ if (m_pDevice->StartDIBitsWithBlend(m_pDIBBase, 255, 0, m_ImageMatrix,
FXDIB_INTERPOL, &m_DeviceHandle,
BlendMode::kNormal)) {
if (m_DeviceHandle) {