Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index d6af24453b26a2c545566cc513417e11fa01b382..3f71b015c56cb18803b5d202236de5d31fbde399 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -262,7 +262,7 @@ |
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()); |