aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagefiltersbase.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-02-17 13:57:16 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-17 13:57:17 -0800
commit48e78468f5f6b900d476e616bdb1ba457c8f0b2a (patch)
tree69aae45ffdf900a73e98502a8067ce836f4a81f9 /gm/imagefiltersbase.cpp
parentb65fcd42830316414fb06d9b6b3cd080021f5097 (diff)
Mark existing image filter entry points that will be going away with Deprecated
Diffstat (limited to 'gm/imagefiltersbase.cpp')
-rw-r--r--gm/imagefiltersbase.cpp8
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;