Index: include/core/SkPathEffect.h |
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h |
index 638287d07c1e1df58572a29474cb6afbce37ebaa..562025351e8563f0a29cefc312c89eda4a52ce10 100644 |
--- a/include/core/SkPathEffect.h |
+++ b/include/core/SkPathEffect.h |
@@ -189,13 +189,9 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposePathEffect) |
protected: |
- SkComposePathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
- |
-#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
-public: |
-#endif |
SkComposePathEffect(SkPathEffect* outer, SkPathEffect* inner) |
: INHERITED(outer, inner) {} |
+ explicit SkComposePathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
private: |
// illegal |
@@ -227,13 +223,9 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkSumPathEffect) |
protected: |
- SkSumPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
- |
-#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
-public: |
-#endif |
SkSumPathEffect(SkPathEffect* first, SkPathEffect* second) |
: INHERITED(first, second) {} |
+ explicit SkSumPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
private: |
// illegal |