Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index eef2a7d62323efdf49876a18d8213f53fc551c13..c5b0fea39a30cfceac600325b0720b75f01f536e 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -34,8 +34,9 @@ SkMorphologyImageFilter::SkMorphologyImageFilter(SkReadBuffer& buffer) |
SkMorphologyImageFilter::SkMorphologyImageFilter(int radiusX, |
int radiusY, |
SkImageFilter* input, |
- const CropRect* cropRect) |
- : INHERITED(1, &input, cropRect), fRadius(SkISize::Make(radiusX, radiusY)) { |
+ const CropRect* cropRect, |
+ uint32_t uniqueID) |
+ : INHERITED(1, &input, cropRect, uniqueID), fRadius(SkISize::Make(radiusX, radiusY)) { |
} |
void SkMorphologyImageFilter::flatten(SkWriteBuffer& buffer) const { |
@@ -263,14 +264,14 @@ SkFlattenable* SkErodeImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
const int width = buffer.readInt(); |
const int height = buffer.readInt(); |
- return Create(width, height, common.getInput(0), &common.cropRect()); |
+ return Create(width, height, common.getInput(0), &common.cropRect(), common.uniqueID()); |
} |
SkFlattenable* SkDilateImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
const int width = buffer.readInt(); |
const int height = buffer.readInt(); |
- return Create(width, height, common.getInput(0), &common.cropRect()); |
+ return Create(width, height, common.getInput(0), &common.cropRect(), common.uniqueID()); |
} |
#if SK_SUPPORT_GPU |