Index: src/effects/SkEmbossMaskFilter.cpp |
diff --git a/src/effects/SkEmbossMaskFilter.cpp b/src/effects/SkEmbossMaskFilter.cpp |
index 4841b92816459ccd9c61b7e413d0b885cdeb38a1..8fcd272646a4421b2f6d367d771a601f882dc04c 100644 |
--- a/src/effects/SkEmbossMaskFilter.cpp |
+++ b/src/effects/SkEmbossMaskFilter.cpp |
@@ -124,15 +124,6 @@ bool SkEmbossMaskFilter::filterMask(SkMask* dst, const SkMask& src, |
return true; |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkEmbossMaskFilter::SkEmbossMaskFilter(SkReadBuffer& buffer) : SkMaskFilter(buffer) { |
- SkASSERT(buffer.getArrayCount() == sizeof(Light)); |
- buffer.readByteArray(&fLight, sizeof(Light)); |
- SkASSERT(fLight.fPad == 0); // for the font-cache lookup to be clean |
- fBlurSigma = buffer.readScalar(); |
-} |
-#endif |
- |
SkFlattenable* SkEmbossMaskFilter::CreateProc(SkReadBuffer& buffer) { |
Light light; |
if (buffer.readByteArray(&light, sizeof(Light))) { |