Index: bench/VertBench.cpp |
diff --git a/bench/VertBench.cpp b/bench/VertBench.cpp |
index 39602b07aaf5d69b4a13b90a3408ef57ad52dd4e..3f075281429cdb56985423f4f6e98b1b74c67369 100644 |
--- a/bench/VertBench.cpp |
+++ b/bench/VertBench.cpp |
@@ -77,11 +77,11 @@ public: |
protected: |
virtual const char* onGetName() { return fName.c_str(); } |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) { |
SkPaint paint; |
this->setupPaint(&paint); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
canvas->drawVertices(SkCanvas::kTriangles_VertexMode, PTS, |
fPts, NULL, fColors, NULL, fIdx, IDX, paint); |
} |