Index: bench/LineBench.cpp |
diff --git a/bench/LineBench.cpp b/bench/LineBench.cpp |
index feaae2b267a8f7694341d7bf5d36b6d20f120fa3..7a54d3cc4a7648512208cbcabafc46818c5b7af5 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); |
} |
} |