Index: gm/imagefilterstransformed.cpp |
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp |
index 7ceff001351e1cba1944c72313d2d2b2b953c7cb..0906eb3f3c50dbd5cc18ac25b8a7391a28bdd5c4 100644 |
--- a/gm/imagefilterstransformed.cpp |
+++ b/gm/imagefilterstransformed.cpp |
@@ -140,18 +140,14 @@ DEF_SIMPLE_GM(rotate_imagefilter, canvas, 500, 500) { |
canvas->translate(150, 0); |
canvas->save(); |
- canvas->translate(100, 100); |
- canvas->rotate(30); |
- canvas->translate(-100, -100); |
+ canvas->rotate(30, 100, 100); |
canvas->drawRect(r, paint); |
canvas->restore(); |
paint.setAntiAlias(true); |
canvas->translate(150, 0); |
canvas->save(); |
- canvas->translate(100, 100); |
- canvas->rotate(30); |
- canvas->translate(-100, -100); |
+ canvas->rotate(30, 100, 100); |
canvas->drawRect(r, paint); |
canvas->restore(); |