Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index 1a451fd5918de64c558edfe2cdb7a5c73b66eec1..f01d55905824a34b3bfaa154fcaf0fb68c623abd 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -39,15 +39,6 @@ SkBitmapProcShader::SkBitmapProcShader(const SkBitmap& src, TileMode tmx, TileMo |
fTileModeY = (uint8_t)tmy; |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkBitmapProcShader::SkBitmapProcShader(SkReadBuffer& buffer) : INHERITED(buffer) { |
- buffer.readBitmap(&fRawBitmap); |
- fRawBitmap.setImmutable(); |
- fTileModeX = buffer.readUInt(); |
- fTileModeY = buffer.readUInt(); |
-} |
-#endif |
- |
SkShader::BitmapType SkBitmapProcShader::asABitmap(SkBitmap* texture, |
SkMatrix* texM, |
TileMode xy[]) const { |