Index: bench/FSRectBench.cpp |
diff --git a/bench/FSRectBench.cpp b/bench/FSRectBench.cpp |
index 80f10bd7e491f06894ab2c27202e7ca7b3faa8df..ea65f30eeec5e82b7dc12c77d799f5eab22d8af5 100644 |
--- a/bench/FSRectBench.cpp |
+++ b/bench/FSRectBench.cpp |
@@ -39,9 +39,9 @@ protected: |
} |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
- for (int i = 0; i < this->getLoops(); ++i) { |
+ for (int i = 0; i < loops; ++i) { |
paint.setColor(fColors[i % N]); |
canvas->drawRect(fRects[i % N], paint); |
} |