| Index: bench/StrokeBench.cpp
|
| diff --git a/bench/StrokeBench.cpp b/bench/StrokeBench.cpp
|
| index 15c9befe6bc8dafe625f9f3b06f689e44580173b..33772dd2beb35030238c26806353e9596b9564fe 100644
|
| --- a/bench/StrokeBench.cpp
|
| +++ b/bench/StrokeBench.cpp
|
| @@ -58,7 +58,6 @@ class StrokeRRectBench : public SkBenchmark {
|
| SkPaint::Join fJoin;
|
| RRectRec fRec;
|
| DrawProc fProc;
|
| - enum { N = SkBENCHLOOP(500) };
|
| public:
|
| StrokeRRectBench(void* param, SkPaint::Join j, DrawProc proc) : SkBenchmark(param) {
|
| static const char* gJoinName[] = {
|
| @@ -85,7 +84,7 @@ protected:
|
| fRec.fPaint.setStyle(SkPaint::kStroke_Style);
|
| fRec.fPaint.setStrokeJoin(fJoin);
|
| fRec.fPaint.setStrokeWidth(5);
|
| - fProc(&fRec, N);
|
| + fProc(&fRec, this->getLoops());
|
| }
|
|
|
| private:
|
|
|