Index: samplecode/SampleAll.cpp |
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp |
index f5a7c143f4e3b8e36bbe4d147c9b8ff150306891..19e692f518bfe2204744d8f11440df7651638622 100644 |
--- a/samplecode/SampleAll.cpp |
+++ b/samplecode/SampleAll.cpp |
@@ -172,6 +172,11 @@ |
dst->addCircle(loc.fX, loc.fY, fRadius); |
} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ Dot2DPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) { |
+ fRadius = buffer.readScalar(); |
+ } |
+#endif |
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE { |
this->INHERITED::flatten(buffer); |
buffer.writeScalar(fRadius); |