Index: include/effects/SkMorphologyImageFilter.h |
diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h |
index 75551b6d8a5bc4265ecf2cec9ec73c98f3408f6b..1c4916ba2dc13e9a85fdf5776d33fa3420eae1b6 100644 |
--- a/include/effects/SkMorphologyImageFilter.h |
+++ b/include/effects/SkMorphologyImageFilter.h |
@@ -34,7 +34,9 @@ protected: |
bool filterImageGeneric(Proc procX, Proc procY, |
Proxy*, const SkBitmap& src, const Context&, |
SkBitmap* result, SkIPoint* offset) const; |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkMorphologyImageFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
#if SK_SUPPORT_GPU |
virtual bool canFilterImageGPU() const SK_OVERRIDE { return true; } |
@@ -70,7 +72,9 @@ public: |
protected: |
SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) |
: INHERITED(radiusX, radiusY, input, cropRect) {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkDilateImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
private: |
typedef SkMorphologyImageFilter INHERITED; |
@@ -96,7 +100,9 @@ public: |
protected: |
SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) |
: INHERITED(radiusX, radiusY, input, cropRect) {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkErodeImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
private: |
typedef SkMorphologyImageFilter INHERITED; |