Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 20899f4ee99c1b26bf25be32055081c1f178f4f4..32822087baef6bf2c4e39f42f82acd10d296760d 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -262,7 +262,7 @@ static void test_crop_rects(SkBaseDevice* device, skiatest::Reporter* reporter) |
SkIPoint offset; |
SkString str; |
str.printf("filter %d", static_cast<int>(i)); |
- SkAutoTUnref<SkImageFilter::Cache> cache(SkImageFilter::Cache::Create()); |
+ SkAutoTUnref<SkImageFilter::Cache> cache(SkImageFilter::Cache::Create(2)); |
SkImageFilter::Context ctx(SkMatrix::I(), SkIRect::MakeLargest(), cache.get()); |
REPORTER_ASSERT_MESSAGE(reporter, filter->filterImage(&proxy, bitmap, ctx, |
&result, &offset), str.c_str()); |