Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 71bc8114dfd9d85b3d0cab75077baab563572e37..dea392b4b58a0f0f3333aeb655801a7ba845b887 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -38,16 +38,16 @@ SkBlurImageFilter::SkBlurImageFilter(SkReadBuffer& buffer) |
SkBlurImageFilter::SkBlurImageFilter(SkScalar sigmaX, |
SkScalar sigmaY, |
SkImageFilter* input, |
- const CropRect* cropRect) |
- : INHERITED(1, &input, cropRect), fSigma(SkSize::Make(sigmaX, sigmaY)) { |
- SkASSERT(sigmaX >= 0 && sigmaY >= 0); |
+ const CropRect* cropRect, |
+ uint32_t uniqueID) |
+ : INHERITED(1, &input, cropRect, uniqueID), fSigma(SkSize::Make(sigmaX, sigmaY)) { |
} |
SkFlattenable* SkBlurImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
SkScalar sigmaX = buffer.readScalar(); |
SkScalar sigmaY = buffer.readScalar(); |
- return Create(sigmaX, sigmaY, common.getInput(0), &common.cropRect()); |
+ return Create(sigmaX, sigmaY, common.getInput(0), &common.cropRect(), common.uniqueID()); |
} |
void SkBlurImageFilter::flatten(SkWriteBuffer& buffer) const { |