Index: bench/BlurImageFilterBench.cpp |
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp |
index 1c4d4bf361a858efaa25ca87bc70d6bd3eae751e..c39573d8e84ae14df0e1618e9188c61180d90520 100644 |
--- a/bench/BlurImageFilterBench.cpp |
+++ b/bench/BlurImageFilterBench.cpp |
@@ -41,11 +41,11 @@ protected: |
} |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
paint.setImageFilter(new SkBlurImageFilter(fSigmaX, fSigmaY))->unref(); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
canvas->drawBitmap(fCheckerboard, 0, 0, &paint); |
} |
} |