Index: src/effects/SkPictureImageFilter.cpp |
diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp |
index da5597d69905385bb4fc610cd22aa60735b72724..5399ea7476c2b2e269d03b4047e571adf4cbbd19 100644 |
--- a/src/effects/SkPictureImageFilter.cpp |
+++ b/src/effects/SkPictureImageFilter.cpp |
@@ -30,21 +30,6 @@ SkPictureImageFilter::~SkPictureImageFilter() { |
SkSafeUnref(fPicture); |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkPictureImageFilter::SkPictureImageFilter(SkReadBuffer& buffer) |
- : INHERITED(0, buffer), |
- fPicture(NULL) { |
- if (!buffer.isCrossProcess()) { |
- if (buffer.readBool()) { |
- fPicture = SkPicture::CreateFromBuffer(buffer); |
- } |
- } else { |
- buffer.validate(!buffer.readBool()); |
- } |
- buffer.readRect(&fCropRect); |
-} |
-#endif |
- |
SkFlattenable* SkPictureImageFilter::CreateProc(SkReadBuffer& buffer) { |
SkAutoTUnref<SkPicture> picture; |
SkRect cropRect; |