Index: bench/MatrixConvolutionBench.cpp |
diff --git a/bench/MatrixConvolutionBench.cpp b/bench/MatrixConvolutionBench.cpp |
index 5e3e201a209de841b480af65a5be93b7428ef12a..1acc0cb01a3c31c92101570f5e9df14660d5fe89 100644 |
--- a/bench/MatrixConvolutionBench.cpp |
+++ b/bench/MatrixConvolutionBench.cpp |
@@ -35,12 +35,12 @@ 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); |
paint.setImageFilter(fFilter); |