Index: include/core/SkPathEffect.h |
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h |
index 2a6e3a9c221ff90eccd5885330cf2ce29db1cbd5..454614a262ea901de7b97a486bac384f07711b0a 100644 |
--- a/include/core/SkPathEffect.h |
+++ b/include/core/SkPathEffect.h |
@@ -135,6 +135,9 @@ |
protected: |
SkPathEffect() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
private: |
// illegal |
@@ -156,6 +159,9 @@ |
protected: |
SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkPairPathEffect(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
@@ -191,6 +197,10 @@ |
SkComposePathEffect(SkPathEffect* outer, SkPathEffect* inner) |
: INHERITED(outer, inner) {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkComposePathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
+ |
private: |
// illegal |
SkComposePathEffect(const SkComposePathEffect&); |
@@ -224,6 +234,10 @@ |
SkSumPathEffect(SkPathEffect* first, SkPathEffect* second) |
: INHERITED(first, second) {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkSumPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
+ |
private: |
// illegal |
SkSumPathEffect(const SkSumPathEffect&); |