Index: include/effects/SkBitmapSource.h |
diff --git a/include/effects/SkBitmapSource.h b/include/effects/SkBitmapSource.h |
index 2aa8fe96fabcc4d3152c98518f6427eb3aba6594..9004a462fcb26f65ed48eadfd3153211a8d0fe1c 100644 |
--- a/include/effects/SkBitmapSource.h |
+++ b/include/effects/SkBitmapSource.h |
@@ -27,7 +27,9 @@ public: |
protected: |
explicit SkBitmapSource(const SkBitmap& bitmap); |
SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkBitmapSource(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |