Index: bench/ChartBench.cpp |
diff --git a/bench/ChartBench.cpp b/bench/ChartBench.cpp |
index ceb62b485b505dfec59bf960e548317727b1e855..47fe7527c7c673a3fbff32ea8a5fbd9674855de3 100644 |
--- a/bench/ChartBench.cpp |
+++ b/bench/ChartBench.cpp |
@@ -102,7 +102,7 @@ protected: |
} |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
bool sizeChanged = false; |
if (canvas->getDeviceSize() != fSize) { |
fSize = canvas->getDeviceSize(); |
@@ -122,7 +122,7 @@ protected: |
} |
} |
- for (int frame = 0; frame < this->getLoops(); ++frame) { |
+ for (int frame = 0; frame < loops; ++frame) { |
canvas->clear(0xFFE0F0E0); |