diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-07-18 18:18:09 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-18 18:18:09 +0000 |
commit | 44592dfa1e34ce606197238c32b2a453ed899aa0 (patch) | |
tree | b247c3eff26488d4dde90e17af04a9e9b68a2ffc /core | |
parent | 30688fb1c434b141380aa224da12e8246a8a78e1 (diff) | |
download | pdfium-44592dfa1e34ce606197238c32b2a453ed899aa0.tar.xz |
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 <thestig@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/fxge/skia/fx_skia_device.cpp | 4 |
1 files 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); } |