diff options
author | Mike Klein <mtklein@google.com> | 2018-10-04 10:18:13 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-10-04 15:37:27 +0000 |
commit | fe5ad67dea1f49c12789572b60cb21f0d05b65e5 (patch) | |
tree | 0dddabdbe822924b05d5e1079820207d9c8ab623 | |
parent | 1c7062db88511ce7f0d5e73b2665f791b6f24e2c (diff) | |
download | skqp-fe5ad67dea1f49c12789572b60cb21f0d05b65e5.tar.gz |
remove deprecated SkBitmap::eraseRGB()
Change-Id: I1adf711d39f441154aa1c032d49583d0c45d2568
Reviewed-on: https://skia-review.googlesource.com/c/159482
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
-rw-r--r-- | docs/SkBitmap_Reference.bmh | 8 | ||||
-rw-r--r-- | include/core/SkBitmap.h | 7 |
2 files changed, 1 insertions, 14 deletions
diff --git a/docs/SkBitmap_Reference.bmh b/docs/SkBitmap_Reference.bmh index 606886a7e5..14df1abc06 100644 --- a/docs/SkBitmap_Reference.bmh +++ b/docs/SkBitmap_Reference.bmh @@ -2407,12 +2407,6 @@ then r, g, and b are ignored. # ------------------------------------------------------------------------------ -#Method void eraseRGB(U8CPU r, U8CPU g, U8CPU b) const -#Deprecated -## - -# ------------------------------------------------------------------------------ - #Method void erase(SkColor c, const SkIRect& area) const #In Draw #Line # writes Color to rectangle of pixels ## @@ -2440,7 +2434,7 @@ then RGB is ignored. ## -#SeeAlso eraseColor eraseARGB eraseRGB SkCanvas::drawRect +#SeeAlso eraseColor eraseARGB SkCanvas::drawRect ## diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index 7ad6c0625c..a2d4748db9 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -801,13 +801,6 @@ public: this->eraseColor(SkColorSetARGB(a, r, g, b)); } - /** Deprecated. - */ - SK_ATTR_DEPRECATED("use eraseARGB or eraseColor") - void eraseRGB(U8CPU r, U8CPU g, U8CPU b) const { - this->eraseARGB(0xFF, r, g, b); - } - /** Replaces pixel values inside area with c. If area does not intersect bounds(), call has no effect. |