From aee62f563968437bff0ffdc5aa6185781a81bfd3 Mon Sep 17 00:00:00 2001 From: robertphillips Date: Mon, 4 Apr 2016 05:28:03 -0700 Subject: Revert of Switch SkDownSampleImageFilter over to new onFilterImage interface (patchset #6 id:100001 of https://codereview.chromium.org/1851583002/ ) Reason for revert: changing images on bots Original issue's description: > Switch SkDownSampleImageFilter over to new onFilterImage interface > > This will slightly change the testimagefilters GM images > > TBR=reed@google.com > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1851583002 > > Committed: https://skia.googlesource.com/skia/+/daa9da4937b6dfc9e1047239b4afd41b1c5474d5 > > Committed: https://skia.googlesource.com/skia/+/33550dab45516bbcfa5ab908c5857fb382535c44 TBR=senorblanco@chromium.org,reed@google.com,senorblanco@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1859533002 --- include/effects/SkTestImageFilters.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/effects/SkTestImageFilters.h') diff --git a/include/effects/SkTestImageFilters.h b/include/effects/SkTestImageFilters.h index 943bb53356..2b3ca84da8 100644 --- a/include/effects/SkTestImageFilters.h +++ b/include/effects/SkTestImageFilters.h @@ -30,9 +30,8 @@ public: protected: void flatten(SkWriteBuffer&) const override; - - sk_sp onFilterImage(SkSpecialImage* source, const Context&, - SkIPoint* offset) const override; + bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result, + SkIPoint* loc) const override; private: SkDownSampleImageFilter(SkScalar scale, SkImageFilter* input) -- cgit v1.2.3