aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RectBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/RectBench.cpp')
-rw-r--r--bench/RectBench.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}