diff options
author | robertphillips <robertphillips@google.com> | 2016-02-17 13:57:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 13:57:17 -0800 |
commit | 48e78468f5f6b900d476e616bdb1ba457c8f0b2a (patch) | |
tree | 69aae45ffdf900a73e98502a8067ce836f4a81f9 /gm/imagefiltersbase.cpp | |
parent | b65fcd42830316414fb06d9b6b3cd080021f5097 (diff) |
Mark existing image filter entry points that will be going away with Deprecated
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1709753002
Review URL: https://codereview.chromium.org/1709753002
Diffstat (limited to 'gm/imagefiltersbase.cpp')
-rw-r--r-- | gm/imagefiltersbase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/imagefiltersbase.cpp b/gm/imagefiltersbase.cpp index fbe4681da4..a55328a999 100644 --- a/gm/imagefiltersbase.cpp +++ b/gm/imagefiltersbase.cpp @@ -34,8 +34,8 @@ public: protected: FailImageFilter() : INHERITED(0, nullptr) {} - bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, - SkBitmap* result, SkIPoint* offset) const override { + bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, + SkBitmap* result, SkIPoint* offset) const override { return false; } @@ -76,8 +76,8 @@ public: protected: IdentityImageFilter(SkImageFilter* input) : INHERITED(1, &input) {} - bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, - SkBitmap* result, SkIPoint* offset) const override { + bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, + SkBitmap* result, SkIPoint* offset) const override { *result = src; offset->set(0, 0); return true; |