From 44592dfa1e34ce606197238c32b2a453ed899aa0 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Wed, 18 Jul 2018 18:18:09 +0000 Subject: Fix skia_paths build. The SkColorSetARGBInline alias was removed, use simply SkColorSetARGB instead. Bug: pdfium:11 Change-Id: I8636e305cf938df9427d01a6ca63b3d492a087f3 Reviewed-on: https://pdfium-review.googlesource.com/38252 Reviewed-by: Lei Zhang Commit-Queue: Henrique Nakashima --- core/fxge/skia/fx_skia_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp index e932781c9b..93c3a1d91f 100644 --- a/core/fxge/skia/fx_skia_device.cpp +++ b/core/fxge/skia/fx_skia_device.cpp @@ -2143,8 +2143,8 @@ bool CFX_SkiaDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, float g; float b; std::tie(r, g, b) = stream.ReadColor(); - colors[i] = SkColorSetARGBInline(0xFF, (U8CPU)(r * 255), - (U8CPU)(g * 255), (U8CPU)(b * 255)); + colors[i] = SkColorSetARGB(0xFF, (U8CPU)(r * 255), (U8CPU)(g * 255), + (U8CPU)(b * 255)); } m_pCanvas->drawPatch(cubics, colors, nullptr, paint); } -- cgit v1.2.3