Index: tests/ImageFilterCacheTest.cpp |
diff --git a/tests/ImageFilterCacheTest.cpp b/tests/ImageFilterCacheTest.cpp |
index 3494011393e00ac25223c06fe9f88c110a2c46ff..f355714c522e5046b7a9a470f0047e2f54e9364e 100644 |
--- a/tests/ImageFilterCacheTest.cpp |
+++ b/tests/ImageFilterCacheTest.cpp |
@@ -152,11 +152,13 @@ DEF_TEST(ImageFilterCache_RasterBacked, reporter) { |
static void test_image_backed(skiatest::Reporter* reporter, SkImage* srcImage) { |
const SkIRect& full = SkIRect::MakeWH(kFullSize, kFullSize); |
- SkAutoTUnref<SkSpecialImage> fullImg(SkSpecialImage::NewFromImage(full, srcImage)); |
+ SkAutoTUnref<SkSpecialImage> fullImg(SkSpecialImage::NewFromImage(nullptr, full, srcImage)); |
const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); |
- SkAutoTUnref<SkSpecialImage> subsetImg(SkSpecialImage::NewFromImage(subset, srcImage)); |
+ SkAutoTUnref<SkSpecialImage> subsetImg(SkSpecialImage::NewFromImage(nullptr, |
+ subset, |
+ srcImage)); |
test_find_existing(reporter, fullImg, subsetImg); |
test_dont_find_if_diff_key(reporter, fullImg, subsetImg); |