From 46db793222dee55d0b846c6ba99a39e2d969c52a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:40:47 +0200 Subject: Adding upstream version 115.10.0esr. Signed-off-by: Daniel Baumann --- gfx/2d/DrawTargetSkia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/2d/DrawTargetSkia.cpp') diff --git a/gfx/2d/DrawTargetSkia.cpp b/gfx/2d/DrawTargetSkia.cpp index 0ddf9fef52..77d9d31faa 100644 --- a/gfx/2d/DrawTargetSkia.cpp +++ b/gfx/2d/DrawTargetSkia.cpp @@ -1398,7 +1398,7 @@ void DrawTargetSkia::Mask(const Pattern& aSource, const Pattern& aMask, SkPaint maskPaint; SetPaintPattern(maskPaint, aMask, lock); - sk_sp maskShader(maskPaint.getShader()); + sk_sp maskShader(maskPaint.refShader()); if (!maskShader && maskPaint.getAlpha() != 0xFF) { if (maskPaint.getAlpha() == 0) { return; -- cgit v1.2.3