Index: bench/Matrix44Bench.cpp |
diff --git a/bench/Matrix44Bench.cpp b/bench/Matrix44Bench.cpp |
index c3692889fcece690f7d6d58663d6d695b6a8fb22..b79233c89c855dc0cee17660c5f2c8c8ea3633a6 100644 |
--- a/bench/Matrix44Bench.cpp |
+++ b/bench/Matrix44Bench.cpp |
@@ -12,7 +12,6 @@ |
class Matrix44Bench : public SkBenchmark { |
SkString fName; |
- enum { N = 10000 }; |
public: |
Matrix44Bench(void* param, const char name[]) : INHERITED(param) { |
fName.printf("matrix44_%s", name); |
@@ -29,8 +28,7 @@ protected: |
} |
virtual void onDraw(SkCanvas*) { |
- int n = SkBENCHLOOP(N * this->mulLoopCount()); |
- for (int i = 0; i < n; i++) { |
+ for (int i = 0; i < this->getLoops(); i++) { |
this->performTest(); |
} |
} |