| Index: tests/ImageFilterTest.cpp
|
| diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
|
| index 48d3147ef9d275bb58d6cdd6df61947f7b179dbc..e6430b4d8775c56b55ba6a14bb2e109dc45fcd94 100644
|
| --- a/tests/ImageFilterTest.cpp
|
| +++ b/tests/ImageFilterTest.cpp
|
| @@ -60,10 +60,11 @@ public:
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(MatrixTestImageFilter)
|
|
|
| protected:
|
| - bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context& ctx,
|
| - SkBitmap* result, SkIPoint* offset) const override {
|
| + sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context& ctx,
|
| + SkIPoint* offset) const override {
|
| REPORTER_ASSERT(fReporter, ctx.ctm() == fExpectedMatrix);
|
| - return true;
|
| + offset->fX = offset->fY = 0;
|
| + return sk_ref_sp<SkSpecialImage>(source);
|
| }
|
|
|
| void flatten(SkWriteBuffer& buffer) const override {
|
|
|