Index: include/effects/SkRectShaderImageFilter.h |
diff --git a/include/effects/SkRectShaderImageFilter.h b/include/effects/SkRectShaderImageFilter.h |
index 650a5833ad22bdade01f2fbd0abc5848a19f5c07..ea974785a386f7167db4ab81774087cb47e8b159 100644 |
--- a/include/effects/SkRectShaderImageFilter.h |
+++ b/include/effects/SkRectShaderImageFilter.h |
@@ -25,7 +25,9 @@ public: |
* If NULL or a given crop edge is not specified, the source |
* primitive's bounds are used instead. |
*/ |
- /* DEPRECATED */ static SkRectShaderImageFilter* Create(SkShader* s, const SkRect& rect); |
+ SK_ATTR_DEPRECATED("use Create(SkShader*, const CropRect*)") |
+ static SkRectShaderImageFilter* Create(SkShader* s, const SkRect& rect); |
+ |
static SkRectShaderImageFilter* Create(SkShader* s, const CropRect* rect = NULL); |
virtual ~SkRectShaderImageFilter(); |