Index: bench/BitmapRectBench.cpp |
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp |
index 6029aebda2d1df1e2d581283c431998e8f1ac2c6..affed723d9a7550777678d09d66738182748c749 100644 |
--- a/bench/BitmapRectBench.cpp |
+++ b/bench/BitmapRectBench.cpp |
@@ -87,7 +87,7 @@ protected: |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkRandom rand; |
SkPaint paint; |
@@ -95,7 +95,7 @@ protected: |
paint.setFilterLevel(fFilterLevel); |
paint.setAlpha(fAlpha); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint); |
} |
} |