Index: bench/BicubicBench.cpp |
diff --git a/bench/BicubicBench.cpp b/bench/BicubicBench.cpp |
index d1f4a4de7217c9166af0ebc25468b8fa9c989ec2..162ec61370c37ff33fc32a6e874809aa5ac86b5d 100644 |
--- a/bench/BicubicBench.cpp |
+++ b/bench/BicubicBench.cpp |
@@ -30,7 +30,7 @@ protected: |
return fName.c_str(); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) { |
SkPaint paint; |
this->setupPaint(&paint); |
@@ -40,7 +40,7 @@ protected: |
SkAutoTUnref<SkImageFilter> bicubic(SkBicubicImageFilter::CreateMitchell(fScale)); |
paint.setImageFilter(bicubic); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
canvas->save(); |
canvas->clipRect(r); |
canvas->drawOval(r, paint); |