Index: bench/PathUtilsBench.cpp |
diff --git a/bench/PathUtilsBench.cpp b/bench/PathUtilsBench.cpp |
index 613d49aa41bd3967428214feeff9dfe79e1a519b..c3640f741b4e4e219b9d36753b5c88b414604026 100644 |
--- a/bench/PathUtilsBench.cpp |
+++ b/bench/PathUtilsBench.cpp |
@@ -41,8 +41,6 @@ class PathUtilsBench : public SkBenchmark { |
SkString fName; |
char* bits[H * STRIDE]; |
- enum { N = SkBENCHLOOP(20) }; |
- |
public: |
PathUtilsBench(void* param, Proc proc, const char name[]) : INHERITED(param) { |
fProc = proc; |
@@ -56,7 +54,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
- for (int i = 0; i < N; ++i){ |
+ for (int i = 0; i < this->getLoops(); ++i){ |
//create a random 16x16 bitmap |
fillRandomBits(H * STRIDE, (char*) &bits); |