Index: bench/RepeatTileBench.cpp |
diff --git a/bench/RepeatTileBench.cpp b/bench/RepeatTileBench.cpp |
index 957ec2a83e28dd02c06d9ec65a94edcedf4d7eaf..fcbffb2a10be5b0ca0ab83f0b26a5cde085a5e90 100644 |
--- a/bench/RepeatTileBench.cpp |
+++ b/bench/RepeatTileBench.cpp |
@@ -133,11 +133,11 @@ protected: |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint(fPaint); |
this->setupPaint(&paint); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
canvas->drawPaint(paint); |
} |
} |