diff options
author | 2018-04-05 13:09:58 -0400 | |
---|---|---|
committer | 2018-04-05 23:52:23 +0000 | |
commit | 99885411aef986f3de863e144a589adb6d7ecd0d (patch) | |
tree | 2c9b2fef53e2b4124b1ec89e4be8fa24c1f899c8 /include/core/SkImageFilter.h | |
parent | 5ddb30862509967eca24ba3831cc11ed5396eee7 (diff) |
remove SK_IGNORE_TO_STRING
SK_IGNORE_TO_STRING is not defined anywhere.
The same effect can be had by using a modern
linker.
Removing it simplifies bookmaker and makes
our includes easier to understand.
R=robertphillips@google.com
TBR=reed@google.com
Bug: skia:6898
Change-Id: Ib716f5ef1b42a7fbda0df43ece212d1b7c40289f
Reviewed-on: https://skia-review.googlesource.com/118963
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r-- | include/core/SkImageFilter.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h index 3998fef056..d7a3f33b75 100644 --- a/include/core/SkImageFilter.h +++ b/include/core/SkImageFilter.h @@ -97,9 +97,7 @@ public: : fRect(rect), fFlags(flags) {} uint32_t flags() const { return fFlags; } const SkRect& rect() const { return fRect; } -#ifndef SK_IGNORE_TO_STRING void toString(SkString* str) const; -#endif /** * Apply this cropRect to the imageBounds. If a given edge of the cropRect is not @@ -247,7 +245,7 @@ public: SkFilterQuality quality, sk_sp<SkImageFilter> input); - SK_TO_STRING_PUREVIRT() + virtual void toString(SkString* str) const = 0; SK_DEFINE_FLATTENABLE_TYPE(SkImageFilter) SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |