Index: include/core/SkImageDecoder.h |
diff --git a/include/core/SkImageDecoder.h b/include/core/SkImageDecoder.h |
index 7241458955f3771fffbb8bf9b73a158b92442a7f..bec40631e7c4813394729adb4668011d33156a92 100644 |
--- a/include/core/SkImageDecoder.h |
+++ b/include/core/SkImageDecoder.h |
@@ -288,10 +288,7 @@ public: |
*/ |
bool decodeSubset(SkBitmap* bm, const SkIRect& subset, SkBitmap::Config pref); |
- /** |
- * @Deprecated |
- * Use decodeSubset instead. |
- */ |
+ SK_ATTR_DEPRECATED("use decodeSubset() instead") |
bool decodeRegion(SkBitmap* bitmap, const SkIRect& rect, SkBitmap::Config pref) { |
return this->decodeSubset(bitmap, rect, pref); |
} |