Index: include/effects/SkMorphologyImageFilter.h |
diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h |
index 0c1cc85601ecef5c90d55cb1ac7afb5298ad7ad4..a464da3d3b0a0adf71780b22dc24057e8673aed9 100644 |
--- a/include/effects/SkMorphologyImageFilter.h |
+++ b/include/effects/SkMorphologyImageFilter.h |
@@ -68,15 +68,11 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDilateImageFilter) |
protected: |
- SkDilateImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
- |
-#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
-public: |
-#endif |
SkDilateImageFilter(int radiusX, int radiusY, |
SkImageFilter* input = NULL, |
const CropRect* cropRect = NULL) |
- : INHERITED(radiusX, radiusY, input, cropRect) {} |
+ : INHERITED(radiusX, radiusY, input, cropRect) {} |
+ explicit SkDilateImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
private: |
typedef SkMorphologyImageFilter INHERITED; |
@@ -100,15 +96,11 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkErodeImageFilter) |
protected: |
- SkErodeImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
- |
-#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
-public: |
-#endif |
SkErodeImageFilter(int radiusX, int radiusY, |
SkImageFilter* input = NULL, |
const CropRect* cropRect = NULL) |
- : INHERITED(radiusX, radiusY, input, cropRect) {} |
+ : INHERITED(radiusX, radiusY, input, cropRect) {} |
+ explicit SkErodeImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
private: |
typedef SkMorphologyImageFilter INHERITED; |