Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 1f32a7ecdfd5c8a99b0e39046c10756b600213b0..5fded935cccb8728d776a348ef3326d1d66ccd9a 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -100,15 +100,6 @@ SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMod |
, fTmy(tmy) { |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkPictureShader::SkPictureShader(SkReadBuffer& buffer) : INHERITED(buffer) { |
- fTmx = static_cast<SkShader::TileMode>(buffer.read32()); |
- fTmy = static_cast<SkShader::TileMode>(buffer.read32()); |
- buffer.readRect(&fTile); |
- fPicture = SkPicture::CreateFromBuffer(buffer); |
-} |
-#endif |
- |
SkPictureShader::~SkPictureShader() { |
fPicture->unref(); |
} |