Index: include/effects/Sk1DPathEffect.h |
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h |
index 9ba11b0812d1168eee691042a4c57618486cc6c9..87047e4ec2a93c83aa47b2c5a528a0008218639b 100644 |
--- a/include/effects/Sk1DPathEffect.h |
+++ b/include/effects/Sk1DPathEffect.h |
@@ -64,6 +64,9 @@ |
protected: |
SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkPath1DPathEffect(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
// overrides from Sk1DPathEffect |