Index: bench/HairlinePathBench.cpp |
diff --git a/bench/HairlinePathBench.cpp b/bench/HairlinePathBench.cpp |
index f5b30a38adc9cd99dd3eb1a22820e9820550ac3e..3ba09722fbae2d53a2961b96e3b0d0c51e5b21cb 100644 |
--- a/bench/HairlinePathBench.cpp |
+++ b/bench/HairlinePathBench.cpp |
@@ -63,8 +63,7 @@ protected: |
path.transform(m); |
} |
- int count = N; |
- for (int i = 0; i < count; i++) { |
+ for (int i = 0; i < this->getLoops(); i++) { |
canvas->drawPath(path, paint); |
} |
} |
@@ -73,7 +72,6 @@ private: |
SkPaint fPaint; |
SkString fName; |
Flags fFlags; |
- enum { N = SkBENCHLOOP(200) }; |
typedef SkBenchmark INHERITED; |
}; |