Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index 64492e22753b73d3d4e77368370df1f940c4a66b..bebf8f01a2707fb591e04de6040d47fabf57e565 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -17,11 +17,11 @@ |
#include "SkValidationUtils.h" |
SkTileImageFilter* SkTileImageFilter::Create(const SkRect& srcRect, const SkRect& dstRect, |
- SkImageFilter* input) { |
+ SkImageFilter* input, uint32_t uniqueID) { |
if (!SkIsValidRect(srcRect) || !SkIsValidRect(dstRect)) { |
return NULL; |
} |
- return SkNEW_ARGS(SkTileImageFilter, (srcRect, dstRect, input)); |
+ return SkNEW_ARGS(SkTileImageFilter, (srcRect, dstRect, input, uniqueID)); |
} |
bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, |
@@ -108,7 +108,7 @@ SkFlattenable* SkTileImageFilter::CreateProc(SkReadBuffer& buffer) { |
SkRect src, dst; |
buffer.readRect(&src); |
buffer.readRect(&dst); |
- return Create(src, dst, common.getInput(0)); |
+ return Create(src, dst, common.getInput(0), common.uniqueID()); |
} |
void SkTileImageFilter::flatten(SkWriteBuffer& buffer) const { |