| Index: include/core/SkPathEffect.h
|
| diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h
|
| index 562025351e8563f0a29cefc312c89eda4a52ce10..454614a262ea901de7b97a486bac384f07711b0a 100644
|
| --- a/include/core/SkPathEffect.h
|
| +++ b/include/core/SkPathEffect.h
|
| @@ -135,7 +135,9 @@ public:
|
|
|
| protected:
|
| SkPathEffect() {}
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| SkPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {}
|
| +#endif
|
|
|
| private:
|
| // illegal
|
| @@ -157,7 +159,10 @@ public:
|
|
|
| protected:
|
| SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1);
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| SkPairPathEffect(SkReadBuffer&);
|
| +#endif
|
| +
|
| virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
|
|
|
| // these are visible to our subclasses
|
| @@ -191,7 +196,10 @@ public:
|
| protected:
|
| SkComposePathEffect(SkPathEffect* outer, SkPathEffect* inner)
|
| : INHERITED(outer, inner) {}
|
| +
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| explicit SkComposePathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {}
|
| +#endif
|
|
|
| private:
|
| // illegal
|
| @@ -225,7 +233,10 @@ public:
|
| protected:
|
| SkSumPathEffect(SkPathEffect* first, SkPathEffect* second)
|
| : INHERITED(first, second) {}
|
| +
|
| +#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
|
| explicit SkSumPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {}
|
| +#endif
|
|
|
| private:
|
| // illegal
|
|
|