Index: include/effects/SkTileImageFilter.h |
diff --git a/include/effects/SkTileImageFilter.h b/include/effects/SkTileImageFilter.h |
index 49d69a0ebf8ed3c2d8e82a8982381b57fb662387..440337a64236e9f775bf2e78b2b71ac4af38073a 100644 |
--- a/include/effects/SkTileImageFilter.h |
+++ b/include/effects/SkTileImageFilter.h |
@@ -32,6 +32,9 @@ |
protected: |
SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input, uint32_t uniqueID) |
: INHERITED(1, &input, NULL, uniqueID), fSrcRect(srcRect), fDstRect(dstRect) {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkTileImageFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; |