Index: bench/RectoriBench.cpp |
diff --git a/bench/RectoriBench.cpp b/bench/RectoriBench.cpp |
index df695d51dcf3d3bfb068064670fe2f8fb7f311ad..e3bf41b78e8f06d85423493939353c32551543a7 100644 |
--- a/bench/RectoriBench.cpp |
+++ b/bench/RectoriBench.cpp |
@@ -24,10 +24,10 @@ protected: |
return "rectori"; |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkRandom Random; |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f); |
SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); |