Index: bench/BlurBench.cpp |
diff --git a/bench/BlurBench.cpp b/bench/BlurBench.cpp |
index 49a6297c542384e493fa941a0dd13d80102a97e4..5f735dd8cfe820385d90668c51c5ac0165348dca 100644 |
--- a/bench/BlurBench.cpp |
+++ b/bench/BlurBench.cpp |
@@ -52,14 +52,14 @@ protected: |
return fName.c_str(); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) { |
SkPaint paint; |
this->setupPaint(&paint); |
paint.setAntiAlias(true); |
SkRandom rand; |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
SkRect r = SkRect::MakeWH(rand.nextUScalar1() * 400, |
rand.nextUScalar1() * 400); |
r.offset(fRadius, fRadius); |