Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 9c97c35bc27601dbd1d141f39774ad9c80e09e80..3d27d10ee12197d52d9cf9ffd4d3f2f369ec9b12 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -22,16 +22,6 @@ |
#include "effects/Gr1DKernelEffect.h" |
#endif |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkMorphologyImageFilter::SkMorphologyImageFilter(SkReadBuffer& buffer) |
- : INHERITED(1, buffer) { |
- fRadius.fWidth = buffer.readInt(); |
- fRadius.fHeight = buffer.readInt(); |
- buffer.validate((fRadius.fWidth >= 0) && |
- (fRadius.fHeight >= 0)); |
-} |
-#endif |
- |
SkMorphologyImageFilter::SkMorphologyImageFilter(int radiusX, |
int radiusY, |
SkImageFilter* input, |