Index: bench/PathUtilsBench.cpp |
diff --git a/bench/PathUtilsBench.cpp b/bench/PathUtilsBench.cpp |
index 06ef5dffb45b2c3b8ce69188a4676498bebcafd1..4231b72fab58370b69c3902a78ccd8df96e7aac3 100644 |
--- a/bench/PathUtilsBench.cpp |
+++ b/bench/PathUtilsBench.cpp |
@@ -52,9 +52,9 @@ public: |
protected: |
virtual const char* onGetName() { return fName.c_str(); } |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) { |
- for (int i = 0; i < this->getLoops(); ++i){ |
+ for (int i = 0; i < loops; ++i){ |
//create a random 16x16 bitmap |
fillRandomBits(H * STRIDE, (char*) &bits); |