Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 5b0e60addebe25ae2bc7867d20e0976ff17c16b4..b5bcc3c5de9b9dbdba9378ec8b93790f44f7782a 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -585,16 +585,6 @@ void SkBlurMaskFilterImpl::computeFastBounds(const SkRect& src, |
src.fRight + pad, src.fBottom + pad); |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkReadBuffer& buffer) : SkMaskFilter(buffer) { |
- fSigma = buffer.readScalar(); |
- fBlurStyle = (SkBlurStyle)buffer.readInt(); |
- fBlurFlags = buffer.readUInt() & SkBlurMaskFilter::kAll_BlurFlag; |
- SkASSERT(fSigma > 0); |
- SkASSERT((unsigned)fBlurStyle <= kLastEnum_SkBlurStyle); |
-} |
-#endif |
- |
SkFlattenable* SkBlurMaskFilterImpl::CreateProc(SkReadBuffer& buffer) { |
const SkScalar sigma = buffer.readScalar(); |
const unsigned style = buffer.readUInt(); |