Index: bench/ImageCacheBench.cpp |
diff --git a/bench/ImageCacheBench.cpp b/bench/ImageCacheBench.cpp |
index 3a22a47826b767a0a9b2338ad95ccc1ef4993fdb..c0a2d3dafa397dc213ebc8c26d1e775cf3645ec4 100644 |
--- a/bench/ImageCacheBench.cpp |
+++ b/bench/ImageCacheBench.cpp |
@@ -13,7 +13,6 @@ class ImageCacheBench : public SkBenchmark { |
SkBitmap fBM; |
enum { |
- N = SkBENCHLOOP(1000), |
DIM = 1, |
CACHE_COUNT = 500 |
}; |
@@ -46,7 +45,7 @@ protected: |
SkBitmap tmp; |
// search for a miss (-1 scale) |
- for (int i = 0; i < N; ++i) { |
+ for (int i = 0; i < this->getLoops(); ++i) { |
(void)fCache.findAndLock(fBM, -1, -1, &tmp); |
} |
} |