Index: bench/DecodeBench.cpp |
diff --git a/bench/DecodeBench.cpp b/bench/DecodeBench.cpp |
index cbcc4a68890cc724ddbcd6d5ab9138317371bb3d..3f535d2f7cc81055b1bf4320768ff346d7c1739f 100644 |
--- a/bench/DecodeBench.cpp |
+++ b/bench/DecodeBench.cpp |
@@ -40,8 +40,8 @@ protected: |
return fName.c_str(); |
} |
- virtual void onDraw(SkCanvas*) { |
- for (int i = 0; i < this->getLoops(); i++) { |
+ virtual void onDraw(const int loops, SkCanvas*) { |
+ for (int i = 0; i < loops; i++) { |
SkBitmap bm; |
SkImageDecoder::DecodeFile(FLAGS_decodeBenchFilename[0], |
&bm, |