Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Unified Diff: include/core/SkPaint.h

Issue 1006213002: remove deprecated setFilterBitmap/isFilterBitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index bb5eff4d91cc47084e3e92ad5145e7c6a1d3e367..31090c8f6a425b2f32bd9d13146bc21138320731 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -338,23 +338,6 @@ public:
*/
void setFilterQuality(SkFilterQuality quality);
- /**
- * 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);
- }
-
- /**
- * Returns true if getFilterLevel() returns anything other than None.
- */
- SK_ATTR_DEPRECATED("use getFilterLevel")
- bool isFilterBitmap() const {
- return kNone_FilterLevel != this->getFilterLevel();
- }
-
/** Styles apply to rect, oval, path, and text.
Bitmaps are always drawn in "fill", and lines are always drawn in
"stroke".
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698