Index: gm/imagefiltersscaled.cpp |
diff --git a/gm/imagefiltersscaled.cpp b/gm/imagefiltersscaled.cpp |
index 4dcf7535da03556a7ad7fdd570e82a49fc9a86b6..9a80964a0e6e595777d60cb0c30a1634cc1ed4aa 100644 |
--- a/gm/imagefiltersscaled.cpp |
+++ b/gm/imagefiltersscaled.cpp |
@@ -134,8 +134,7 @@ protected: |
canvas->scale(SkScalarInvert(RESIZE_FACTOR), |
SkScalarInvert(RESIZE_FACTOR)); |
} |
- canvas->drawCircle(r.centerX(), r.centerY(), |
- SkScalarDiv(r.width()*2, SkIntToScalar(5)), paint); |
+ canvas->drawCircle(r.centerX(), r.centerY(), r.width()*2/5, paint); |
canvas->restore(); |
canvas->translate(r.width() * scales[j].fX + margin, 0); |
} |