Index: include/effects/SkTileImageFilter.h |
diff --git a/include/effects/SkTileImageFilter.h b/include/effects/SkTileImageFilter.h |
index 084f726e88aa0908f289803d1a4ef278cb39216e..440337a64236e9f775bf2e78b2b71ac4af38073a 100644 |
--- a/include/effects/SkTileImageFilter.h |
+++ b/include/effects/SkTileImageFilter.h |
@@ -20,7 +20,7 @@ public: |
@param input Input from which the subregion defined by srcRect will be tiled |
*/ |
static SkTileImageFilter* Create(const SkRect& srcRect, const SkRect& dstRect, |
- SkImageFilter* input); |
+ SkImageFilter* input, uint32_t uniqueID = 0); |
virtual bool onFilterImage(Proxy* proxy, const SkBitmap& src, const Context& ctx, |
SkBitmap* dst, SkIPoint* offset) const SK_OVERRIDE; |
@@ -30,8 +30,8 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkTileImageFilter) |
protected: |
- SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input) |
- : INHERITED(1, &input), fSrcRect(srcRect), fDstRect(dstRect) {} |
+ 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 |