diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-25 17:25:13 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-25 17:25:13 +0000 |
commit | ecf14f7caac3b5d79a3cc36b30d7bb97aabbb062 (patch) | |
tree | 4df8b9ee72185d3a25413503057299b201d57f7d /core/fxge/skia | |
parent | e115ca7d978532d8bfcbf06cb03cbbb4c148881c (diff) | |
download | pdfium-ecf14f7caac3b5d79a3cc36b30d7bb97aabbb062.tar.xz |
Initialize CFX_ImageRenderer members in the header.
- Reorder to pack a bit better.
- Remove |m_BlendType| which is always |FXDIB_BLEND_NORMAL|.
- Change the ctor to pass the matrix by reference.
Change-Id: I07870947915fd2c90f28502803eb17f18204ac92
Reviewed-on: https://pdfium-review.googlesource.com/c/44547
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/skia')
-rw-r--r-- | core/fxge/skia/fx_skia_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp index a282cd6a1f..6e90c29f99 100644 --- a/core/fxge/skia/fx_skia_device.cpp +++ b/core/fxge/skia/fx_skia_device.cpp @@ -2392,7 +2392,7 @@ bool CFX_SkiaDeviceDriver::StartDIBits( return true; m_pBitmap->UnPreMultiply(); *handle = pdfium::MakeUnique<CFX_ImageRenderer>( - m_pBitmap, m_pClipRgn.get(), pSource, bitmap_alpha, argb, pMatrix, + m_pBitmap, m_pClipRgn.get(), pSource, bitmap_alpha, argb, *pMatrix, render_flags, m_bRgbByteOrder); #endif // _SKIA_SUPPORT_PATHS_ return true; |