| Index: include/core/SkPaint.h
|
| diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
|
| index 6c3a10f9efe3bdb05a3c9b8189e3c85b0015bb50..1244795819063cee64fb86f042bacfef9fa76843 100644
|
| --- a/include/core/SkPaint.h
|
| +++ b/include/core/SkPaint.h
|
| @@ -304,18 +304,18 @@ public:
|
| void setFilterLevel(FilterLevel);
|
|
|
| /**
|
| - * DEPRECATED: use setFilterLevel instead.
|
| * If the predicate is true, set the filterLevel to Low, else set it to
|
| * None.
|
| */
|
| + SK_ATTR_DEPRECATED("use setFilterLevel")
|
| void setFilterBitmap(bool doFilter) {
|
| this->setFilterLevel(doFilter ? kLow_FilterLevel : kNone_FilterLevel);
|
| }
|
|
|
| /**
|
| - * DEPRECATED: call getFilterLevel() instead.
|
| * Returns true if getFilterLevel() returns anything other than None.
|
| */
|
| + SK_ATTR_DEPRECATED("use getFilterLevel")
|
| bool isFilterBitmap() const {
|
| return kNone_FilterLevel != this->getFilterLevel();
|
| }
|
| @@ -638,9 +638,8 @@ public:
|
| /**
|
| * Returns true if there is an annotation installed on this paint, and
|
| * the annotation specifics no-drawing.
|
| - *
|
| - * Deprecated: all annotations are no-draw. Please just check getAnnotation().
|
| */
|
| + SK_ATTR_DEPRECATED("use getAnnotation and check for non-null")
|
| bool isNoDrawAnnotation() const { return this->getAnnotation() != NULL; }
|
|
|
| /**
|
|
|