Index: src/effects/SkBitmapSource.cpp |
diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp |
index 4da77a9e02de7e196bba833db44f8558694f51cb..ff76ab4bba71fd314e371ef7163cc736b7b06f15 100644 |
--- a/src/effects/SkBitmapSource.cpp |
+++ b/src/effects/SkBitmapSource.cpp |
@@ -26,15 +26,6 @@ SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, co |
, fSrcRect(srcRect) |
, fDstRect(dstRect) {} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkBitmapSource::SkBitmapSource(SkReadBuffer& buffer) : INHERITED(0, buffer) { |
- buffer.readBitmap(&fBitmap); |
- buffer.readRect(&fSrcRect); |
- buffer.readRect(&fDstRect); |
- buffer.validate(buffer.isValid() && SkIsValidRect(fSrcRect) && SkIsValidRect(fDstRect)); |
-} |
-#endif |
- |
SkFlattenable* SkBitmapSource::CreateProc(SkReadBuffer& buffer) { |
SkRect src, dst; |
buffer.readRect(&src); |