Index: bench/BitmapScaleBench.cpp |
diff --git a/bench/BitmapScaleBench.cpp b/bench/BitmapScaleBench.cpp |
index ae3df71c22da5c4648415e4b3b8d3bcf146374a3..926111d12db5936621372be0d62675edba5fd1ea 100644 |
--- a/bench/BitmapScaleBench.cpp |
+++ b/bench/BitmapScaleBench.cpp |
@@ -69,13 +69,13 @@ protected: |
fMatrix.setScale( scale(), scale() ); |
} |
- virtual void onDraw(SkCanvas*) { |
+ virtual void onDraw(const int loops, SkCanvas*) { |
SkPaint paint; |
this->setupPaint(&paint); |
preBenchSetup(); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
doScaleImage(); |
} |
} |