Index: tests/ImageCacheTest.cpp |
diff --git a/tests/ImageCacheTest.cpp b/tests/ImageCacheTest.cpp |
index 92d0b519d0dc3e367161f151e7f5c3508b7dbe09..00f6c77aa3645355d54a2f3aea8baac06137661f 100644 |
--- a/tests/ImageCacheTest.cpp |
+++ b/tests/ImageCacheTest.cpp |
@@ -74,7 +74,7 @@ static void test_cache(skiatest::Reporter* reporter, SkScaledImageCache& cache, |
} |
} |
- cache.setByteLimit(0); |
+ cache.setTotalByteLimit(0); |
} |
#include "SkDiscardableMemoryPool.h" |