summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fxge/skia/fx_skia_device.cpp4
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);
}