Index: tests/ImageCacheTest.cpp |
diff --git a/tests/ImageCacheTest.cpp b/tests/ImageCacheTest.cpp |
index 947ece1e2137e3467cf40f11c07ff03ac8f3a337..877591acc777bc44177fddcb28b496e18463d9b8 100644 |
--- a/tests/ImageCacheTest.cpp |
+++ b/tests/ImageCacheTest.cpp |
@@ -48,14 +48,14 @@ static void TestImageCache(skiatest::Reporter* reporter) { |
// stress test, should trigger purges |
for (size_t i = 0; i < COUNT * 100; ++i) { |
+ scale += 1; |
+ |
SkBitmap tmp; |
make_bm(&tmp, DIM, DIM); |
id = cache.addAndLock(bm[0], scale, scale, tmp); |
REPORTER_ASSERT(reporter, NULL != id); |
cache.unlock(id); |
- |
- scale += 1; |
} |
cache.setByteLimit(0); |