Index: include/effects/SkBitmapSource.h |
diff --git a/include/effects/SkBitmapSource.h b/include/effects/SkBitmapSource.h |
index 8b678b2eb815898127bdab9ae8423940c2ab08fa..27c7ae204f981548177efa86e3bedd6eab007a23 100644 |
--- a/include/effects/SkBitmapSource.h |
+++ b/include/effects/SkBitmapSource.h |
@@ -27,6 +27,9 @@ |
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&, |