diff options
Diffstat (limited to 'include/core/SkPathEffect.h')
-rw-r--r-- | include/core/SkPathEffect.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h index 638287d07c..562025351e 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 |