Index: src/effects/SkRectShaderImageFilter.cpp |
diff --git a/src/effects/SkRectShaderImageFilter.cpp b/src/effects/SkRectShaderImageFilter.cpp |
index a00994e75b64ffe5b5145822ac9a6c8db054a467..cdf03131c1cd89f1e0cf2ec2f97aaef9f4cf5983 100644 |
--- a/src/effects/SkRectShaderImageFilter.cpp |
+++ b/src/effects/SkRectShaderImageFilter.cpp |
@@ -23,21 +23,20 @@ SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const SkRe |
return s ? SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect)) : NULL; |
} |
-SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect, uint32_t uniqueID) { |
+SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) { |
SkASSERT(s); |
- return s ? SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect, uniqueID)) : NULL; |
+ return s ? SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect)) : NULL; |
} |
-SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect, |
- uint32_t uniqueID) |
- : INHERITED(0, NULL, cropRect, uniqueID) |
+SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect) |
+ : INHERITED(0, NULL, cropRect) |
, fShader(SkRef(s)) { |
} |
SkFlattenable* SkRectShaderImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 0); |
SkAutoTUnref<SkShader> shader(buffer.readShader()); |
- return Create(shader.get(), &common.cropRect(), common.uniqueID()); |
+ return Create(shader.get(), &common.cropRect()); |
} |
void SkRectShaderImageFilter::flatten(SkWriteBuffer& buffer) const { |