diff options
Diffstat (limited to 'gm/imagefiltersscaled.cpp')
-rw-r--r-- | gm/imagefiltersscaled.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/imagefiltersscaled.cpp b/gm/imagefiltersscaled.cpp index 4dcf7535da..9a80964a0e 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); } |