Index: include/effects/SkPictureImageFilter.h |
diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h |
index 84d0c10016d027efb003ac31f8763c4a8ebb7566..7826eb84975ee311209f53d7a39e2260abeeea1a 100644 |
--- a/include/effects/SkPictureImageFilter.h |
+++ b/include/effects/SkPictureImageFilter.h |
@@ -40,7 +40,9 @@ protected: |
* SkReadBuffer::setBitmapDecoder() before calling this constructor. |
* @param SkReadBuffer Serialized picture data. |
*/ |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkPictureImageFilter(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |
SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE; |