summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_renderdevice.h
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 /core/fxge/cfx_renderdevice.h
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 'core/fxge/cfx_renderdevice.h')
-rw-r--r--core/fxge/cfx_renderdevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h
index d18161627f..18ce7a8608 100644
--- a/core/fxge/cfx_renderdevice.h
+++ b/core/fxge/cfx_renderdevice.h
@@ -195,16 +195,16 @@ class CFX_RenderDevice {
bool StartDIBits(const RetainPtr<CFX_DIBBase>& pBitmap,
int bitmap_alpha,
uint32_t color,
- const CFX_Matrix* pMatrix,
+ const CFX_Matrix& matrix,
uint32_t flags,
std::unique_ptr<CFX_ImageRenderer>* handle) {
- return StartDIBitsWithBlend(pBitmap, bitmap_alpha, color, pMatrix, flags,
+ return StartDIBitsWithBlend(pBitmap, bitmap_alpha, color, matrix, flags,
handle, BlendMode::kNormal);
}
bool StartDIBitsWithBlend(const RetainPtr<CFX_DIBBase>& pBitmap,
int bitmap_alpha,
uint32_t color,
- const CFX_Matrix* pMatrix,
+ const CFX_Matrix& matrix,
uint32_t flags,
std::unique_ptr<CFX_ImageRenderer>* handle,
BlendMode blend_type);