aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkDiscretePathEffect.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-12-01 11:47:08 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-01 11:47:08 -0800
commit3f3b3d003527861dc0bd89733857576408906431 (patch)
tree91d09bd814cea513c55d99003e2ef7ef24e91b62 /src/effects/SkDiscretePathEffect.cpp
parentbc0c4bd9dff5c7be1a0845ef0d5cc3f4faaef5f3 (diff)
Remove SK_SUPPORT_LEGACY_DEEPFLATTENING.
This was needed for pictures before v33, and we're now requiring v35+. Will follow up with the same for skia/ext/pixel_ref_utils_unittest.cc BUG=skia: Committed: https://skia.googlesource.com/skia/+/52c293547b973f7fb5de3c83f5062b07d759ab88 Review URL: https://codereview.chromium.org/769953002
Diffstat (limited to 'src/effects/SkDiscretePathEffect.cpp')
-rw-r--r--src/effects/SkDiscretePathEffect.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp
index e8cc6a2f70..8aa0e22356 100644
--- a/src/effects/SkDiscretePathEffect.cpp
+++ b/src/effects/SkDiscretePathEffect.cpp
@@ -87,12 +87,3 @@ void SkDiscretePathEffect::flatten(SkWriteBuffer& buffer) const {
buffer.writeScalar(fPerterb);
buffer.writeUInt(fSeedAssist);
}
-
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
-SkDiscretePathEffect::SkDiscretePathEffect(SkReadBuffer& buffer) {
- fSegLength = buffer.readScalar();
- fPerterb = buffer.readScalar();
- fSeedAssist = buffer.readUInt();
-}
-#endif
-