Index: bench/BlurRectBench.cpp |
diff --git a/bench/BlurRectBench.cpp b/bench/BlurRectBench.cpp |
index e2528afc7f748e37e3bf8216ce5ed262f8697897..d4876ce8a8e26274c76fc75c5561c3da83c36e9b 100644 |
--- a/bench/BlurRectBench.cpp |
+++ b/bench/BlurRectBench.cpp |
@@ -51,7 +51,7 @@ protected: |
fName = name; |
} |
- virtual void onDraw(SkCanvas*) { |
+ virtual void onDraw(const int loops, SkCanvas*) { |
SkPaint paint; |
this->setupPaint(&paint); |
@@ -62,7 +62,7 @@ protected: |
preBenchSetup(r); |
- for (int i = 0; i < this->getLoops(); i++) { |
+ for (int i = 0; i < loops; i++) { |
makeBlurryRect(r); |
} |
} |