Index: bench/ChartBench.cpp |
diff --git a/bench/ChartBench.cpp b/bench/ChartBench.cpp |
index 1ecf30ab842f623b672d1cd484d0d52301e7679b..699004906520f9e2d6415e072b6b0feddf970c6b 100644 |
--- a/bench/ChartBench.cpp |
+++ b/bench/ChartBench.cpp |
@@ -127,7 +127,7 @@ protected: |
} |
} |
- for (int frame = 0; frame < kFramesPerRun; ++frame) { |
+ for (int frame = 0; frame < this->getLoops(); ++frame) { |
canvas->clear(0xFFE0F0E0); |
@@ -183,8 +183,6 @@ private: |
kNumGraphs = 5, |
kPixelsPerTick = 3, |
kShiftPerFrame = 1, |
- |
- kFramesPerRun = SkBENCHLOOP(5), |
}; |
int fShift; |
SkISize fSize; |