Index: src/effects/SkDiscretePathEffect.cpp |
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp |
index 8aa0e223562d39a28c9f8a1a29c38dbfb31f4e85..e8cc6a2f7032c779b6315d018247328104a5cf17 100644 |
--- a/src/effects/SkDiscretePathEffect.cpp |
+++ b/src/effects/SkDiscretePathEffect.cpp |
@@ -87,3 +87,12 @@ |
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 |
+ |