aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkDiscretePathEffect.cpp
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-04-05 13:09:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-05 23:52:23 +0000
commit99885411aef986f3de863e144a589adb6d7ecd0d (patch)
tree2c9b2fef53e2b4124b1ec89e4be8fa24c1f899c8 /src/effects/SkDiscretePathEffect.cpp
parent5ddb30862509967eca24ba3831cc11ed5396eee7 (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 'src/effects/SkDiscretePathEffect.cpp')
-rw-r--r--src/effects/SkDiscretePathEffect.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp
index 1912c93fda..57d8f9639e 100644
--- a/src/effects/SkDiscretePathEffect.cpp
+++ b/src/effects/SkDiscretePathEffect.cpp
@@ -144,10 +144,8 @@ void SkDiscretePathEffect::flatten(SkWriteBuffer& buffer) const {
buffer.writeUInt(fSeedAssist);
}
-#ifndef SK_IGNORE_TO_STRING
void SkDiscretePathEffect::toString(SkString* str) const {
str->appendf("SkDiscretePathEffect: (");
str->appendf("segLength: %.2f deviation: %.2f seed %d", fSegLength, fPerterb, fSeedAssist);
str->append(")");
}
-#endif