From a7aedfec9e28db36c97e49f11f2bc2e0eb624c30 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Sat, 15 Dec 2012 02:03:10 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@6829 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/RectBench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/RectBench.cpp') diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp index 17fccfd3ab..4a2d3c57bd 100644 --- a/bench/RectBench.cpp +++ b/bench/RectBench.cpp @@ -23,7 +23,7 @@ public: SkRect fRects[N]; SkColor fColors[N]; - RectBench(void* param, int shift, int stroke = 0) + RectBench(void* param, int shift, int stroke = 0) : INHERITED(param) , fShift(shift) , fStroke(stroke) { @@ -185,7 +185,7 @@ protected: // Draw small aa rects in a grid across the screen for (SkScalar y = SK_ScalarHalf; y < H; y += SkIntToScalar(2)) { for (SkScalar x = SK_ScalarHalf; x < W; x += SkIntToScalar(2)) { - r.set(x, y, + r.set(x, y, x+SkFloatToScalar(1.5f), y+SkFloatToScalar(1.5f)); canvas->drawRect(r, paint); } -- cgit v1.2.3