Index: bench/MorphologyBench.cpp |
diff --git a/bench/MorphologyBench.cpp b/bench/MorphologyBench.cpp |
index 956cbbee3092e89ab09281496c90d21481ec2755..63171c2c12c435bdf973d9f40b993ce4530e8f09 100644 |
--- a/bench/MorphologyBench.cpp |
+++ b/bench/MorphologyBench.cpp |
@@ -50,14 +50,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); |