aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkRect.h')
-rw-r--r--include/core/SkRect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index d9ac3a6910..98acb1cda3 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -401,7 +401,7 @@ struct SK_API SkRect {
return r;
}
- // DEPRECATED: call Make(r)
+ SK_ATTR_DEPRECATED("use Make()")
static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) {
SkRect r;
r.set(SkIntToScalar(irect.fLeft),