Index: bench/ImageDecodeBench.cpp |
diff --git a/bench/ImageDecodeBench.cpp b/bench/ImageDecodeBench.cpp |
index 1cb29b1f1e287daf5ec2fd6382d4825215d20be4..2e50ec50c4d999d6c5a49fe223a6a75a528e43bc 100644 |
--- a/bench/ImageDecodeBench.cpp |
+++ b/bench/ImageDecodeBench.cpp |
@@ -59,7 +59,7 @@ protected: |
#endif |
// Decode a bunch of times |
SkBitmap bm; |
- for (int i = 0; i < SkBENCHLOOP(1000); ++i) { |
+ for (int i = 0; i < this->getLoops(); ++i) { |
SkDEBUGCODE(bool success =) SkImageDecoder::DecodeStream(&fStream, &bm); |
#ifdef SK_DEBUG |
if (!success) { |