Index: bench/RegionContainBench.cpp |
diff --git a/bench/RegionContainBench.cpp b/bench/RegionContainBench.cpp |
index 8668513979ee082c02df7756d85510bfbc05d32e..c4cbc9497dd5b9e487767c363af54880f0a48867 100644 |
--- a/bench/RegionContainBench.cpp |
+++ b/bench/RegionContainBench.cpp |
@@ -26,7 +26,6 @@ public: |
W = 200, |
H = 200, |
COUNT = 10, |
- N = SkBENCHLOOP(20000) |
}; |
SkIRect randrect(SkRandom& rand, int i) { |
@@ -54,7 +53,7 @@ protected: |
virtual void onDraw(SkCanvas*) { |
Proc proc = fProc; |
- for (int i = 0; i < N; ++i) { |
+ for (int i = 0; i < this->getLoops(); ++i) { |
proc(fA, fB); |
} |
} |