Index: bench/CoverageBench.cpp |
diff --git a/bench/CoverageBench.cpp b/bench/CoverageBench.cpp |
index 455151740ad650fd08f5bd333688ec6a855099b2..2c84102f7d899e8d7e8e3a34f3acc623b6d6ccd8 100644 |
--- a/bench/CoverageBench.cpp |
+++ b/bench/CoverageBench.cpp |
@@ -49,13 +49,13 @@ protected: |
return fName.c_str(); |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
if (fDrawCoverage) { |
- for (int i = 0; i < this->getLoops(); ++i) { |
+ for (int i = 0; i < loops; ++i) { |
fDraw.drawPathCoverage(fPath, fPaint); |
} |
} else { |
- for (int i = 0; i < this->getLoops(); ++i) { |
+ for (int i = 0; i < loops; ++i) { |
fDraw.drawPath(fPath, fPaint); |
} |
} |