aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLocalMatrixImageFilter.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-03-23 04:40:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-23 04:40:01 -0700
commitae2f2de1b85e35824aab13f11e082920a33805ad (patch)
tree15e5c60becfa9e9dd7e24cf7a195e65936854756 /src/core/SkLocalMatrixImageFilter.h
parent0dfe89248972f701a0a96812ffed801bcc0387b0 (diff)
Switch SkLocalMatrixImageFilter over to new onFilterImage interface
Diffstat (limited to 'src/core/SkLocalMatrixImageFilter.h')
-rw-r--r--src/core/SkLocalMatrixImageFilter.h8
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;
};