Index: include/effects/Sk1DPathEffect.h |
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h |
index 85f8ea2ac69c0767fefe41a46065b27c7b18343d..87047e4ec2a93c83aa47b2c5a528a0008218639b 100644 |
--- a/include/effects/Sk1DPathEffect.h |
+++ b/include/effects/Sk1DPathEffect.h |
@@ -64,7 +64,9 @@ public: |
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 |