Index: bench/GradientBench.cpp |
diff --git a/bench/GradientBench.cpp b/bench/GradientBench.cpp |
index f3e783e78fd3478e96d263f7c9ef7a6f25ec29f1..e5e5fc385f5bfd8f0351d5c52a33476bd5b96db8 100644 |
--- a/bench/GradientBench.cpp |
+++ b/bench/GradientBench.cpp |
@@ -207,7 +207,6 @@ class GradientBench : public Benchmark { |
enum { |
W = 400, |
H = 400, |
- kRepeat = 15, |
}; |
public: |
SkShader* makeShader(GradType gradType, GradData data, SkShader::TileMode tm, float scale) { |
@@ -275,7 +274,7 @@ protected: |
} |
SkRect r = { 0, 0, SkIntToScalar(W), SkIntToScalar(H) }; |
- for (int i = 0; i < loops * kRepeat; i++) { |
+ for (int i = 0; i < loops; i++) { |
switch (fGeomType) { |
case kRect_GeomType: |
canvas->drawRect(r, paint); |