Index: bench/MagnifierBench.cpp |
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp |
index 2e937f358b4b43692aa39c25b7667b814f92af80..6d48a61f3e4260df78c91e418a7d4c2374d4138e 100644 |
--- a/bench/MagnifierBench.cpp |
+++ b/bench/MagnifierBench.cpp |
@@ -43,7 +43,10 @@ protected: |
SkIntToScalar(h / 4), |
SkIntToScalar(w / 2), |
SkIntToScalar(h / 2)), 100))->unref(); |
- canvas->drawBitmap(fCheckerboard, 0, 0, &paint); |
+ |
+ for (int i = 0; i < this->getLoops(); i++) { |
+ canvas->drawBitmap(fCheckerboard, 0, 0, &paint); |
+ } |
} |
private: |