Index: bench/TileBench.cpp |
diff --git a/bench/TileBench.cpp b/bench/TileBench.cpp |
index 4619d8b1efea8fb6dc21773bbcab82b8f37bc1bd..9a9e27e95139c7a1aa1d333e0ef4d9cec3cf6089 100644 |
--- a/bench/TileBench.cpp |
+++ b/bench/TileBench.cpp |
@@ -82,7 +82,7 @@ protected: |
return fName.c_str(); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) { |
SkPaint paint(fPaint); |
this->setupPaint(&paint); |
paint.setFilterLevel(fDoFilter ? SkPaint::kLow_FilterLevel |
@@ -103,7 +103,7 @@ protected: |
SkPaint bgPaint; |
bgPaint.setColor(SK_ColorWHITE); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
if (fDoTrans) { |
canvas->drawRect(r, bgPaint); |
} |