Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 56b3aaf5cdf6c26be8dab06b7e78c780e0aaeb9a..592f5c6b865636ed03dd2b0d1ac2864b6f5af75a 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -65,9 +65,7 @@ protected: |
} |
void flatten(SkWriteBuffer& buffer) const override { |
- this->INHERITED::flatten(buffer); |
- buffer.writeFunctionPtr(fReporter); |
- buffer.writeMatrix(fExpectedMatrix); |
+ SkDEBUGFAIL("Should never get here"); |
} |
private: |
@@ -289,11 +287,8 @@ private: |
} |
sk_sp<SkFlattenable> MatrixTestImageFilter::CreateProc(SkReadBuffer& buffer) { |
- SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
- skiatest::Reporter* reporter = (skiatest::Reporter*)buffer.readFunctionPtr(); |
- SkMatrix matrix; |
- buffer.readMatrix(&matrix); |
- return MatrixTestImageFilter::Make(reporter, matrix); |
+ SkDEBUGFAIL("Should never get here"); |
+ return nullptr; |
} |
#ifndef SK_IGNORE_TO_STRING |