Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 58dc1a7161a0093b8c46913dc0f347a6e6ba80ba..6fa00c3fc21961b97b1ea92730210398fba3a485 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -1153,7 +1153,7 @@ DEF_TEST(ImageFilterCrossProcessPictureImageFilter, reporter) { |
// cross-process. Do this by "laundering" it through SkValidatingReadBuffer. |
SkAutoTUnref<SkData> data(SkValidatingSerializeFlattenable(imageFilter.get())); |
SkAutoTUnref<SkFlattenable> flattenable(SkValidatingDeserializeFlattenable( |
- data->data(), data->size(), SkImageFilter::GetFlattenableType())); |
+ data->data(), data->size())); |
SkImageFilter* unflattenedFilter = static_cast<SkImageFilter*>(flattenable.get()); |
redPaintWithFilter.setImageFilter(unflattenedFilter); |
@@ -1600,7 +1600,7 @@ DEF_TEST(ImageFilterImageSourceSerialization, reporter) { |
sk_sp<SkData> data(SkValidatingSerializeFlattenable(filter.get())); |
sk_sp<SkFlattenable> flattenable(SkValidatingDeserializeFlattenable( |
- data->data(), data->size(), SkImageFilter::GetFlattenableType())); |
+ data->data(), data->size())); |
SkImageFilter* unflattenedFilter = static_cast<SkImageFilter*>(flattenable.get()); |
REPORTER_ASSERT(reporter, unflattenedFilter); |