summaryrefslogtreecommitdiff
path: root/vcl/skia/win
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-06-30 17:58:12 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-07-01 11:35:08 +0200
commit3dfc6d42edfd469436ad177ad1ebc5526679aa99 (patch)
treea879d9a9156c78ea119d6d56133c2c5b292ddfd3 /vcl/skia/win
parent3550a459db6d633fccd5a8599b75662689d270c4 (diff)
update Skia to chrome/m85 snapshot
Change-Id: I3af3517c9c213e0db8365aecd0a008d817ca4dcf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97592 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/skia/win')
-rw-r--r--vcl/skia/win/gdiimpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/skia/win/gdiimpl.cxx b/vcl/skia/win/gdiimpl.cxx
index 94879d14bcac..b3170b27b8ca 100644
--- a/vcl/skia/win/gdiimpl.cxx
+++ b/vcl/skia/win/gdiimpl.cxx
@@ -268,7 +268,7 @@ sk_sp<SkImage> SkiaCompatibleDC::getAsMaskImage() const
// The data we got is upside-down.
SkMatrix matrix;
matrix.preTranslate(0, maRects.mnSrcHeight);
- matrix.setConcat(matrix, SkMatrix::MakeScale(1, -1));
+ matrix.setConcat(matrix, SkMatrix::Scale(1, -1));
canvas8.concat(matrix);
canvas8.drawBitmap(tmpBitmap, 0, 0, &paint8);
bitmap8.setImmutable();
@@ -298,7 +298,7 @@ sk_sp<SkImage> SkiaCompatibleDC::getAsImage() const
// The data we got is upside-down.
SkMatrix matrix;
matrix.preTranslate(0, maRects.mnSrcHeight);
- matrix.setConcat(matrix, SkMatrix::MakeScale(1, -1));
+ matrix.setConcat(matrix, SkMatrix::Scale(1, -1));
canvas->concat(matrix);
canvas->drawBitmapRect(tmpBitmap,
SkRect::MakeXYWH(0, 0, maRects.mnSrcWidth, maRects.mnSrcHeight),
@@ -349,7 +349,7 @@ sk_sp<SkImage> SkiaCompatibleDC::getAsImageDiff(const SkiaCompatibleDC& white) c
// The data we got is upside-down.
SkMatrix matrix;
matrix.preTranslate(0, tmpBitmap.height());
- matrix.setConcat(matrix, SkMatrix::MakeScale(1, -1));
+ matrix.setConcat(matrix, SkMatrix::Scale(1, -1));
canvas->concat(matrix);
canvas->drawBitmap(tmpBitmap, 0, 0, &paint);
canvas->restore();