Index: gm/cubicpaths.cpp |
diff --git a/gm/cubicpaths.cpp b/gm/cubicpaths.cpp |
index 56ed7297f557e97b16c504ce286e3b6ffecbbebf..e0d72b44b4937bf77f7f439512c4005ea60604e7 100644 |
--- a/gm/cubicpaths.cpp |
+++ b/gm/cubicpaths.cpp |
@@ -30,9 +30,9 @@ protected: |
SkPaint paint; |
SkRect bounds = path.getBounds(); |
- for (int dy = -1; dy <= 1; ++dy) { |
+ for (SkScalar dy = -1; dy <= 1; dy += 1) { |
canvas->save(); |
- for (int dx = -1; dx <= 1; ++dx) { |
+ for (SkScalar dx = -1; dx <= 1; dx += 1) { |
canvas->save(); |
canvas->clipRect(bounds); |
canvas->translate(dx, dy); |