Index: bench/RegionBench.cpp |
diff --git a/bench/RegionBench.cpp b/bench/RegionBench.cpp |
index fb6e94f67b9e814823bec6ea919dbcde2c4da2a5..ed58e3bdebfddbfefa5dfb9ab74d8eeb47ad36c5 100644 |
--- a/bench/RegionBench.cpp |
+++ b/bench/RegionBench.cpp |
@@ -106,9 +106,9 @@ public: |
protected: |
virtual const char* onGetName() { return fName.c_str(); } |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) { |
Proc proc = fProc; |
- for (int i = 0; i < this->getLoops(); ++i) { |
+ for (int i = 0; i < loops; ++i) { |
proc(fA, fB); |
} |
} |