| Index: core/fxge/skia/fx_skia_device.cpp
|
| diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp
|
| index c82b7f309162bf495f6ab388ea1db4ed604b8d9a..f253b06c6da6c2b9e9620332d8ed676484b0294e 100644
|
| --- a/core/fxge/skia/fx_skia_device.cpp
|
| +++ b/core/fxge/skia/fx_skia_device.cpp
|
| @@ -759,6 +759,15 @@ FX_BOOL CFX_SkiaDeviceDriver::DrawPath(
|
| return TRUE;
|
| }
|
|
|
| +FX_BOOL CFX_SkiaDeviceDriver::DrawCosmeticLine(FX_FLOAT x1,
|
| + FX_FLOAT y1,
|
| + FX_FLOAT x2,
|
| + FX_FLOAT y2,
|
| + uint32_t color,
|
| + int blend_type) {
|
| + return FALSE;
|
| +}
|
| +
|
| FX_BOOL CFX_SkiaDeviceDriver::FillRectWithBlend(const FX_RECT* pRect,
|
| uint32_t fill_color,
|
| int blend_type) {
|
| @@ -907,6 +916,10 @@ FX_BOOL CFX_SkiaDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern,
|
| return true;
|
| }
|
|
|
| +uint8_t* CFX_SkiaDeviceDriver::GetBuffer() const {
|
| + return m_pBitmap->GetBuffer();
|
| +}
|
| +
|
| FX_BOOL CFX_SkiaDeviceDriver::GetClipBox(FX_RECT* pRect) {
|
| // TODO(caryclark) call m_canvas->getClipDeviceBounds() instead
|
| pRect->left = 0;
|
| @@ -953,6 +966,10 @@ FX_BOOL CFX_SkiaDeviceDriver::GetDIBits(CFX_DIBitmap* pBitmap,
|
| return bRet;
|
| }
|
|
|
| +CFX_DIBitmap* CFX_SkiaDeviceDriver::GetBackDrop() {
|
| + return m_pOriDevice;
|
| +}
|
| +
|
| FX_BOOL CFX_SkiaDeviceDriver::SetDIBits(const CFX_DIBSource* pBitmap,
|
| uint32_t argb,
|
| const FX_RECT* pSrcRect,
|
| @@ -1086,6 +1103,10 @@ FX_BOOL CFX_SkiaDeviceDriver::StartDIBits(const CFX_DIBSource* pSource,
|
| return TRUE;
|
| }
|
|
|
| +FX_BOOL CFX_SkiaDeviceDriver::ContinueDIBits(void* handle, IFX_Pause* pPause) {
|
| + return FALSE;
|
| +}
|
| +
|
| void CFX_SkiaDeviceDriver::PreMultiply() {
|
| void* buffer = m_pBitmap->GetBuffer();
|
| if (!buffer)
|
|
|