summaryrefslogtreecommitdiff
path: root/chromium/third_party/skia/gm/bug6783.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/gm/bug6783.cpp')
-rw-r--r--chromium/third_party/skia/gm/bug6783.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/third_party/skia/gm/bug6783.cpp b/chromium/third_party/skia/gm/bug6783.cpp
index 05e4cf19eaf..4f52e0914af 100644
--- a/chromium/third_party/skia/gm/bug6783.cpp
+++ b/chromium/third_party/skia/gm/bug6783.cpp
@@ -44,8 +44,7 @@ DEF_SIMPLE_GM(bug6783, canvas, 500, 500) {
sk_sp<SkImage> img = surface->makeImageSnapshot();
- SkMatrix m = SkMatrix::Concat(SkMatrix::MakeTrans(25, 214),
- SkMatrix::MakeScale(2, 2));
+ SkMatrix m = SkMatrix::Translate(25, 214) * SkMatrix::Scale(2, 2);
m.preSkew(0.5f, 0.5f);
// The bug was present at all filter levels, but you might not notice it at kNone.