Index: bench/SkBenchmark.cpp |
diff --git a/bench/SkBenchmark.cpp b/bench/SkBenchmark.cpp |
index 26a7a3bb32458282182bfdd222001a209fede1d8..39119b98e92512465e49cee2e7bb17d90e3e75c3 100644 |
--- a/bench/SkBenchmark.cpp |
+++ b/bench/SkBenchmark.cpp |
@@ -22,7 +22,6 @@ SkBenchmark::SkBenchmark() { |
fForceFilter = false; |
fDither = SkTriState::kDefault; |
fOrMask = fClearMask = 0; |
- fLoops = 1; |
} |
const char* SkBenchmark::getName() { |
@@ -37,8 +36,8 @@ void SkBenchmark::preDraw() { |
this->onPreDraw(); |
} |
-void SkBenchmark::draw(SkCanvas* canvas) { |
- this->onDraw(canvas); |
+void SkBenchmark::draw(const int loops, SkCanvas* canvas) { |
+ this->onDraw(loops, canvas); |
} |
void SkBenchmark::postDraw() { |