diff options
author | robertphillips <robertphillips@google.com> | 2016-03-23 04:40:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-23 04:40:01 -0700 |
commit | ae2f2de1b85e35824aab13f11e082920a33805ad (patch) | |
tree | 15e5c60becfa9e9dd7e24cf7a195e65936854756 /src/core/SkLocalMatrixImageFilter.h | |
parent | 0dfe89248972f701a0a96812ffed801bcc0387b0 (diff) |
Switch SkLocalMatrixImageFilter over to new onFilterImage interface
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1780233002
Review URL: https://codereview.chromium.org/1780233002
Diffstat (limited to 'src/core/SkLocalMatrixImageFilter.h')
-rw-r--r-- | src/core/SkLocalMatrixImageFilter.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/SkLocalMatrixImageFilter.h b/src/core/SkLocalMatrixImageFilter.h index da49df4932..f6bcb56773 100644 --- a/src/core/SkLocalMatrixImageFilter.h +++ b/src/core/SkLocalMatrixImageFilter.h @@ -9,8 +9,6 @@ #define SkLocalMatrixImageFilter_DEFINED #include "SkImageFilter.h" -#include "SkReadBuffer.h" -#include "SkString.h" /** * Wraps another imagefilter + matrix, such that using this filter will give the same result @@ -25,14 +23,14 @@ public: protected: void flatten(SkWriteBuffer&) const override; - bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, - SkBitmap* result, SkIPoint* offset) const override; + SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&, + SkIPoint* offset) const override; SkIRect onFilterBounds(const SkIRect& src, const SkMatrix&, MapDirection) const override; private: SkLocalMatrixImageFilter(const SkMatrix& localM, SkImageFilter* input); - SkMatrix fLocalM; + SkMatrix fLocalM; typedef SkImageFilter INHERITED; }; |