aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/LineBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/LineBench.cpp')
-rw-r--r--bench/LineBench.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/LineBench.cpp b/bench/LineBench.cpp
index feaae2b267..7a54d3cc4a 100644
--- a/bench/LineBench.cpp
+++ b/bench/LineBench.cpp
@@ -22,7 +22,6 @@ class LineBench : public SkBenchmark {
SkString fName;
enum {
PTS = 500,
- N = SkBENCHLOOP(10)
};
SkPoint fPts[PTS];
@@ -51,7 +50,7 @@ protected:
paint.setAntiAlias(fDoAA);
paint.setStrokeWidth(fStrokeWidth);
- for (int i = 0; i < N; i++) {
+ for (int i = 0; i < this->getLoops(); i++) {
canvas->drawPoints(SkCanvas::kLines_PointMode, PTS, fPts, paint);
}
}