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